The Pure Functional Web
summary
Compares Elm’s single-source-of-truth Elm architecture with PureScript’s closer-to-Haskell approach, emphasizes type classes (semiring for numeric genericity) and visible monads, and shows a PureScript reimplementation of a virtual DOM (PureScript virtual DOM) plus a small UI framework ecosystem (Halogen, Pux, Thermite). Builds and compiles a working increment/decrement counter app wired to a signal stream, demos color-changing style, and notes tooling and editor pain but the PureScript end-to-end demo runs.
AI-written summary · about
chapters (21)
- 0:00Introduction
- 1:43The DOM
- 3:55The Elm Architecture
- 4:36The Update Function
- 5:48View Function
- 6:09DOM Render
- 8:03DOM Functions
- 8:46Language Fight
- 10:14Pure Script
- 11:15Raffle
- 11:51Add two numbers
- 13:49Type error
- 16:56Side Effects
- 18:12Moon
- 18:53JavaScript
- 20:01PureScript
- 21:00Streaming State
- 23:58Frameworks
- 34:36Render
- 35:46Code
- 39:01Dessert
related talks
47mFunctional Programming on the Web
49mPurescript (Maybe this time we get Javascript right)
53mIntegrating Purescript and Halogen into Javascript Apps - Part 1 of 6
28mPureScript & Pux -- a safer, more expressive way to React
53mIntegrating Purescript and Halogen into Javascript Apps - Part 2 of 6
46mBuilding a Graphical IDE in Elm/Purescript (...)
01h 49mPurely Functional Web Apps using React and PureScript
50mIntegrating Purescript and Halogen into Javascript Apps - Part 5 of 6
