~/talk

Integrating Purescript and Halogen into Javascript Apps - Part 5 of 6

Talkat LambdaConf 2017 · 2017-05-25..05-27· [javascript]
links:none on file
slides:none on file

PureScript and Halogen get pragmatically applied to an existing JavaScript app: actual steps include exporting a logPrice returns an F you must invoke to run console side effects from JS, wiring PureScript main as a JS-callable entry point, and replacing pieces incrementally (logging, DOM access, HTTP requests). Type techniques shown: newtype removes runtime overhead vs datatypes for compile-time safety, row-typed effects for composability, and a Halogen query/request algebra for component state. Demos compile and logs appear, with occasional setup hiccups.

AI-written summary · about

  1. 0:00Intro
  2. 1:10What affects you
  3. 4:43LogPrice
  4. 10:20LogString
  5. 12:10Log Price
  6. 14:20Add to Cart
  7. 17:00Logger
  8. 19:50Types
  9. 23:20Row Types
  10. 25:00Type Alias
  11. 31:45New types
  12. 33:30Compile
  13. 33:55NewType
  14. 38:00Polymorphic
  15. 38:57State
  16. 45:39Query Algebra
  17. 46:40Request Query
  18. 48:13Variables
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.