Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Lightning - Monads you already use (without kno...

Lightning - Monads you already use (without knowing it)

The lightning talk version of this talk.

Tejas Dinkar

July 19, 2014
Tweet

More Decks by Tejas Dinkar

Other Decks in Technology

Transcript

  1. Monads • Programmable Semicolons • Used to hide plumbing away

    from you • Monads are just monoids in the category of endofunctors
  2. Monads • Monads define two functions • return takes a

    value and puts it in a box • bind takes a box & function, and returns a box with f(value)