A Lazy Sequence

All articles about Functional programming

2018

2013

Modeling union types using only functions

The lambda calculus is the basis for functional programming. Church's encodings in the untyped lambda calculus show an interesting pattern that parallels union types in languages like Haskell. Here I try to show how these discriminated union types can be implemented using only javascript functions.

12 June 2013

2012

Templates are functions

An article that looks at templates in web development in the context of pure functions and functional programming.

21 October 2012

2010

Monads: redux

Thoughts on the appropriateness of monads in Clojure.

15 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.

12 February 2010

2009