~/talk

From JavaScript to Haskell

TalkinFrenchat Best of Web 2018 · 2018-06-07..06-08· [functional-programming, haskell]
slides:none on file

This talk shows how to refactor imperative JavaScript code into functional style using Haskell ideas, with live-coding examples. It introduces concrete functional concepts—referential transparency, first-class functions, higher-order functions, closures, lambda calculus, currying, partial application, function composition and point-free notation—explained and applied only when useful.

AI-written summary · about

  1. 0:00Introduction
  2. 1:06Initial JavaScript problem
  3. 3:38Side effects and dangers
  4. 6:11Functions as first-class
  5. 10:56Avoiding side effects
  6. 13:04Code problem resolution
  7. 16:59Currying and partial application
  8. 18:01Refactoring to functional style
  9. 22:42Comparison with Haskell
  10. 27:13Key functional concepts
  11. 28:56Pure vs impure functional
  12. 30:42Monads and side effects
  13. 32:09Strong typing in functional
~/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.