~/talk

Haskell Design Patterns for Genericity & Asynchronous Behavior

Talkat CppCon 2015 · 2015-09-21..09-25· [functional-programming]
links:none on file
slides:none on file

Compares concrete Haskell patterns to C++ implementations: shows a hash-set built from type classes and instantiated with C++ Concepts and demonstrates the implementations are parallel and type-checked at compile time; exhibits a toy evaluator where plain ADTs fail to express distinct int/boolean results but a GADT fixes evaluator typing via indexed constructors (at the cost of nontrivial type annotations and typechecker issues); proves a function functor instance for (-> r) where fmap = composition and contrasts extensibility tradeoffs (row vs column).

AI-written summary · about

  1. 0:00Introduction
  2. 4:10How does this impact C++?
  3. 6:13Haskell Features
  4. 11:26Instances of Type Classes
  5. 13:43Type class notes
  6. 20:50An example using Algebraic Data Types in Haskell
  7. 25:12Algebraic Data type-like implementation in C++
  8. 27:23Pattern Matching
  9. 28:19The Oop approach to evaluation
  10. 31:18Adding behaviors
  11. 32:34Adding Discriminated Unions
  12. 45:47Algebraic Data Types vs Oop
~/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.