~/talk

Pipe Dreams - Getting More out of Elixir Pipes

Talkat Erlang Factory SF Bay Area 2014 · 2014-03-06..03-07· [elixir-and-erlang]
links:none on file
slides:none on file

Shows macros that rewrite Elixir pipes at compile time to handle real problems: implements pipe_while to stop piping when a pattern (like an error tuple) appears, and pipe_with to wrap every stage (turn exceptions into {:error, reason} tuples or map operations over nested matrices). Demonstrates the pipeline producing "click click bang" with the final step skipped, explains using reduce/reduce_with over the AST, and reports the working prototype was ~10 lines of macro code that took about two weeks to get right.

AI-written summary · about

  1. 0:00Introduction
  2. 2:09Functional programming now
  3. 5:38Elixir pipes special
  4. 7:08Unreliable tasks in pipes
  5. 9:38Pipe failures with macros
  6. 13:28Macros for transformations
  7. 20:31Pipe matching return codes
  8. 21:35Non-uniform error handling
  9. 23:04Pipes with exception handlers
  10. 27:22Matrix math pipe wrapping
  11. 28:45Macros defining behavior
  12. 37:09Macros changing everything
  13. 40:02Web connections with plugs
  14. 42:14Macros complexity vs clarity
  15. 49:04Haskell's Maybe monad
  16. 50:35Closing thoughts & Q&A
~/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.