~/talk

Evaluation in Cats: the Good, the Bad, and the Lazy

links:none on file
slides:none on file

Cats’ Eval provides a concrete way to encode evaluation strategies into types, offering now/always/later semantics that map to eager, repeated, and call‑by‑need behavior; it includes a defer and trampoline mechanism that lets recursive algorithms avoid stack overflow (demonstrated by a counter example where map alone still recurses but defer protects the stack). Examples show that mapping/flatMapping stays lazy, that calling .value defeats laziness, and that Eval underpins streaming, Foldable and lazy/infinite data structures.

AI-written summary · about

  1. 0:00Introduction
  2. 5:38Lazy eval
  3. 10:32Bad eval
~/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.