Functional Reactive Programming in Elm
summary
Explains how Elm implements Functional Reactive Programming with concrete tools: signals, lift and foldp for time-varying values, an FPS source (fps 25) and a simple physics loop. Builds a playable Mario-like demo in about 40 lines, adds gravity, keyboard control and animation, and demonstrates hot swapping that preserves runtime state. Also covers HTML/JS interop, a faster type checker and a debugger that can rewind; the demos run live with occasional live-coding hiccups.
AI-written summary · about
chapters (12)
- 0:00Start
- 2:17Freeform Graphics
- 3:58Markdown Block
- 4:52Flow Function
- 6:16Collage
- 6:42Free Form Graphics
- 7:59Free Form Transformations
- 10:34Functional Reactive Animation
- 11:18Beginning Functional Reactive Programming
- 26:00Record Update Syntax
- 34:21Render Function
- 42:05Hot Swapping
related talks
51mElm-Friendly Functional Programming For The Web
50mIntroduction to Reactive Programming
01h 28mFunctional Programming for the Web with Elm
31mThe Tricks of Game Programming in a Pure Functional Language
31mThe Beauty and Elegance of Functional Reactive Animation
29mWhat is Functional Reactive Programming?
38mConfident Frontend with Elm
56mSimplifying Web App Development With Elm and Functional Programming
