Actions

Understanding Monads (described in JavaScript)

-


Event
MinneBar 4 (21 November 2009)
Panel
This is not a panel.
Summary
URL
Topic
Schedule




Presenters




blog comments powered by Disqus



Monads are an abstract data type that are regularly used in Haskell. They seem to be often talked about, but learning what they are can be quite difficult. I've been doing lots of studying recently to understand them. In this presentation I'll share what I've learned and describe monads in detail by building a simple evaluator--in JavaScript (yes, JavaScript). This evaluator will be written twice, once without monads, and once with them for comparison. Seeing them in a common imperative language should help make things easier to understand.

MediaWiki spam blocked by CleanTalk.