~/talk

Haskell to Core: Understanding Haskell Features Through Their Desugaring

Talkat Haskell Love 2020 · 2020-07-31..08-01· [compilers-and-language-design]
links:none on file
slides:none on file

Explains how GHC desugars Haskell into System FC (Core), showing concrete translations: infix -> function application, multi-argument functions -> nested lambdas, patterns -> nested case expressions, do-notation -> sequences of bind calls that receive type and dictionary arguments, type parameters become lambda-bound values, and equality constraints become explicit coercions used by casts; Core itself is a tiny language (about nine Core constructs) that GHC produces after type checking, useful for debugging performance and correctness.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:59What is Core and sugaring
  3. 3:01GHC compiler pipeline
  4. 5:54Core language basics
  5. 9:03De-sugaring by example
  6. 11:54Pattern bindings and cases
  7. 13:41Multi-argument pattern matches
  8. 15:51If-then-else and seq
  9. 16:35Parametric polymorphism
  10. 18:01Type applications
  11. 18:44Existential quantification
  12. 20:32Type classes and dictionaries
  13. 22:37Do notation translation
  14. 24:26Coercions and casts
  15. 27:35GADTs and type equalities
  16. 29:42Type families explained
  17. 31:05Summary and resources
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.