~/talk

Introduction to FP Using Haskell (Part 2)

Talkat LambdaConf 2018 · 2018-06-03..06-05· [machine-learning]
slides:none on file

Defines concrete algebraic types like OneOrTwo a, a recursive Natural and a custom List and shows actual GHCi commands (including :info) using Glasgow Haskell Compiler 7.8+. Demonstrates type inference and scoped type variables, pattern matching (non‑overlapping vs overlapping), writes a recursive add for Natural that computes correctly, implements an Ord instance for Natural so max3 works, and explores fixity/cons behavior and Show/deriving versus manual instances.

AI-written summary · about

  1. 0:00Understanding type inference
  2. 4:21Algebraic data types
  3. 9:26Functions and pattern matching
  4. 16:44Recursive data types
  5. 24:12Type classes and instances
  6. 37:15Lists and operator fixity
~/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.