Elm-Friendly Functional Programming For The Web
summary
Quick demo of Elm setup, compilation and tooling: install via npm, use elm-make, Elm Reactor and the Elm package manager. Shows how strict versioning plus the Hindley–Milner type system prevents breaking API and many bugs, including no runtime errors for the examples. Implements records, custom union types and model–view–update with a maybe person model, wired to buttons that toggle a person on stage. A working interactive app compiles and runs in the reactor in roughly 100 lines of code.
AI-written summary · about
chapters (8)
- 0:00Introduction to Elm
- 2:46Project setup and tooling
- 8:01Language basics and types
- 18:29Data modeling and records
- 25:33Custom types and patterns
- 32:06Handling null with Maybe
- 37:23The Elm architecture (MVU)
- 47:54Resources and Q&A
related talks
01h 28mFunctional Programming for the Web with Elm
56mSimplifying Web App Development With Elm and Functional Programming
39mDeveloper Happiness on the Front End with Elm
47mElm or how I learned to love front end development
53mAdventures in Elm: Events, Reproducibility, and Kindness
48mHighway to Elm!
54mBeyond JavaScript Frameworks: Writing Reliable Web Apps With Elm
41mWriting Reliable Web Apps With Elm
