~/talk

Records in Haskell Past, Present, and Future

Talkat LambdaConf 2019 · 2019-06-05..06-07· [ruby-on-rails]
links:none on file
slides:none on file

History of Haskell records, current hacks and concrete proposals: shows which GHC extensions solve what, demonstrates duplicate record fields quirks (type-directed resolution runs before typechecking), explains practical tools used: Template Haskell lenses, generic-lens, the has-field/getField approach and a dot-to-getField plugin (note: setField initially unsupported and plugin rewrites dots), surveys extensible-record libraries and their compiler limits, and outlines the Row Type proposal with an experimental plugin and a PureScript JSON decoder analog of about 300 lines as a working example.

AI-written summary · about

  1. 0:00Start
  2. 3:24Field Label
  3. 4:49Name Spacing
  4. 6:40Type Class Resolution
  5. 14:10Template Haskell Lenses
  6. 17:01Generic Lenses
  7. 18:47Extensible Records
  8. 23:52Row Types
  9. 27:15Jason Decoding
  10. 36:06Difference between Road Type and Record
~/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.