Integrating Purescript and Halogen into Javascript Apps - Part 3 of 6
summary
Shows an incremental migration: pull a JS app into PureScript + Halogen, install purescript, pulp, bower, psc-ide and add npm scripts, compile into a specific folder (watch rebuild to source/purescript) so React can import the output. Demonstrates REPL use to inspect types, kinds and partial application, uses purescript-prelude and purescript-console, wires Halogen UI code into the app, hits minor setup hiccups but gets a working compiled integration.
AI-written summary · about
chapters (18)
- 0:00Intro
- 7:48Adding the Bower script
- 9:25Running Bower
- 12:15Prelude
- 13:57PSD
- 18:01Preface
- 19:56What is plus
- 22:54Purescript Documentation
- 26:40Hello Function
- 29:23Redefine Hello Function
- 31:15OneLine Cake
- 32:19FullName
- 34:34String
- 36:41Type alias
- 38:43Polymorphism
- 43:15Types
- 50:34Understanding
- 52:02Source Directory
related talks
01h 04mJavaScript to Purescript A Migration Story
47mFunctional Programming on the Web
43mThe Pure Functional Web
01h 49mPurely Functional Web Apps using React and PureScript
28mPureScript & Pux -- a safer, more expressive way to React
30mTowards a simpler JavaScript ecosystem
49mPurescript (Maybe this time we get Javascript right)
27mUnderstanding JavaScript Libraries via React and the React Ecosystem
