~/talk

C++ Algorithms in Haskell and the Haskell Playground

Talkat C++Now 2019 · 2019-05-05..05-10· [c-and-cpp, haskell]
slides:none on file

Shows C++ STL algorithms reimplemented in Haskell and a tiny REPL wrapper called Haskell Playground built as a Python script around G HCI that colorizes and traces types. Implements countIf as length . filter and adjacent difference via an adjacent-pair mapping and a minus section. Demonstrates composition and type inference step by step and runs an example where adjacent differences produce [0,1,0,-2,0,1,-1] so count adjacent = 3, proving the approach works end to end.

AI-written summary · about

  1. 0:00Intro
  2. 0:39Comments
  3. 0:55C and Haskell
  4. 1:49Boost HOF
  5. 2:19Haskell Playground
~/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.