w3future.com

Sjoerd Visscher's weblog

Try XHTML 2.0
Src XHTML 2.0
RDF Metadata


Site Colors

Syn Atom 1.0
Syn RSS 0.91
Syn Subscribe

CC Licensed
Geo URL
With Radio

Monday, June 16, 2008

Algebraic Data Types in JavaScript

Since the weblog system for this site broke down, and I have to manually update all pages, not much is happening here. I hope however that some people are still subscribed. If you are reading this then you are probably one of them.

The reason I am posting again is that I have written a bit of JavaScript 1.8 recently. John Resig was right, the new expression closures syntax did tickle me. Functional code looks so much nicer!

The code is a library to work with algebraic data types, which takes some explaining, so read more here.