~/talk

Asynchronous JavaScript & PureScript for Haskellers

Talkat PureConf 2022 · on Thursday, 2022-02-24· [javascript, functional-programming]
links:none on file
slides:none on file

Shows how DOM and network events are modeled with an emitter and explains the event loop queuing behavior, then compares callbacks, non‑cancelable Promises/async‑await and the futures library that adds cancelation and lawful monads. Demonstrates PureScript wrappers for fetch and the Aff monad (cancelable, type‑safe, used by afjax) and control over concurrency with fibers (fork/join/kill). Presents a working Cardano browser‑tx websocket client built atop these primitives.

AI-written summary · about

  1. 0:00Introduction
  2. 1:09JavaScript fundamentals
  3. 5:33The event loop
  4. 6:53Modern abstractions
  5. 11:08PureScript approach
  6. 16:17Working with fibers
  7. 17:31Summary of concepts
  8. 18:38Production use case
  9. 20:27Q&A and conclusion
~/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.