Skip to content

Instantly share code, notes, and snippets.

@myrho
Last active June 7, 2021 21:53
Show Gist options
  • Star 43 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save myrho/8a7bbff836ee4d99cfb533db0b6906c9 to your computer and use it in GitHub Desktop.
Save myrho/8a7bbff836ee4d99cfb533db0b6906c9 to your computer and use it in GitHub Desktop.

Lightning Talk proposal for ReactiveConf 2017 http://www.reactiveconf.com #ReactiveConf

Porting Prezi to Elm in 99 lines of code

Elm is a statically-typed functional programming language. Its compiler produces safe JavaScript which is guaranteed to be free of runtime exceptions. Moreover Elm is packed with a bunch of powerful abstractions which let us build visual and reactive Web applications in a few lines of code.

As an example, I show the implementation of a simple framework for building Prezi-like presentations. It's just 99 lines of code!

What?? 😲 Just 99 LOC?!

Yes! Even including code for a small example presentation.

Source code can be found here: https://github.com/myrho/prezi-to-elm-in-99-loc

But there is more!

Create your own Prezi-like presentation with this slim litte Web tool written in Elm!

I made my presentation for Elm Europe 2017 with it. Run it yourself! (works best in Chrome)

Please star! 💜

... so this proposal makes it into the Lightning Talks session at ReactiveConf 2017!

And please pay attention to the little preview below!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment