A Lazy Sequence

Articles about monads

CoffeeScript comprehensions are broken

An examination of List Comprehensions in several languages, how Coffeescript's ‘comprehension’ semantics differ from the common case, and limitations that arise.

12 September 2011

Parsers generating parsers

Following my introduction to fnparse, this article looks at how more common functional programming tools can be leveraged to make parsers that output new parsers.

07 February 2011

Start parsing in Clojure: fnparse

Parser combinators are a powerful way of expressing complex parsers as first class operations in a language with first class functions. This tutorial introduces one such library, fnparse, for Clojure.

07 February 2011

Monads: redux

Thoughts on the appropriateness of monads in Clojure.

14 February 2010

Ghosts in the machine

Following on from looking at state monads in the context of Clojure, this article looks at variations that add different forms of state-m of non-determinism.

11 February 2010

Welcome to the machine

A close look at how the state monad is implemented and used in Clojure.