Func is a project mainly written in CoffeeScript, it's free.
Functional JavaScript programming
$ npm install func
This library is only there to enable the below experiments.
These should be of higher interest than the func library itself.
So far the following examples have been implemented
This is an attempt to teach all chess pieces how to move around the chess board without breaking the rules.
Only the simplest move functions form the basis and are composed in order to express all possible move in a very declarative manner.
The idea is that the correctness of the implementation can be reasoned about, assuming the very simple basis functions are correct.