~/talk

Haste: Full-Stack Haskell for Non-PhD Candidates

Talkat Strange Loop 2014 · 2014-09-17..09-19· [javascript, web-platform]
links:none on file
links:none on file
slides:none on file

Haste compiles Haskell to JavaScript and demonstrates concrete, usable features: DOM manipulation, HTML5 canvas animation, localStorage, XHR, and type-safe RPC between client and server. Demos compile with haste boot and haste inst, show a spinning cat, a working localStorage save/load, a TodoMVC prototype and a Breakout built with Netwire, and use ffi bidirectional bindings to call and export JS. Testing notes warn that GHC integers differ from JS numbers so pure tests may hide runtime overflows.

AI-written summary · about

  1. 0:00Intro
  2. 0:17About Us
  3. 5:38What is Haste?
  4. 6:18History of Haste
  5. 9:06Haskell Functions (cont.)
  6. 10:29Miscellaneous Haskell Syntax
  7. 11:56Installing Haste
  8. 12:29Authoring Haste "Hello, World"
  9. 12:50Haste "Hello, World" (cont.)
  10. 13:10Haste Library
  11. 13:20Compiling Haste "Hello, World"
  12. 14:38DOM Manipulation + Events
  13. 15:16DOM + Events (cont.)
  14. 17:29Interfacing w/LocalStorage
  15. 17:50LocalStorage (cont.)
  16. 19:06Simple Ajax
  17. 20:002D HTML5 Canvas
  18. 23:59JavaScript FFI
  19. 24:50FFI - Haste Calling JS w/ccall
  20. 26:42FFI - Haste Calling JS w/ffi
  21. 27:34FFI - ccall vs. ffi
  22. 28:40FFI - JS Calling Haste Functions
  23. 30:51Runtime Errors (cont.)
  24. 31:48Debugging (cont.)
  25. 35:24Hackage
~/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.