~/talk

Pattern Functors...

Talkat LambdaConf 2015 · 2015-05-22..05-24· [databases]
slides:none on file

Haskell code turns data types into manipulable descriptions: a pattern functor = constructor shapes with recursion removed, tied by Fix to rebuild recursive types. Evidence: arithmetic expressions and lists become Functor-valued patterns, then get one-line generic folds and extensible datatypes “à la carte” with injection functions. Free monads appear by adding a hole functor to represent key-value programs whose interpretations run or simulate for testing. GHC Generics derives the conversions so the approach compiles and actually works.

AI-written summary · about

  1. 0:00Start
  2. 7:54Decorated data types
  3. 9:32Quick recap of folds
  4. 14:10Our aim: extensibility
  5. 15:05How should
  6. 16:41Values require GOL/R
  7. 24:42Free monoid over a type
  8. 25:26Free monad, attempt #1
  9. 28:47Representing operations
  10. 32:00Two lessons to be learned
  11. 33:50Describing constructors
  12. 35:58Combining pattern functors
  13. 37:25Anonymous data types
  14. 40:02Generic representations
  15. 43:15Data type-generic (==)
  16. 48:01A piece of warning
  17. 50:29Homework (optional?)
~/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.