Sjoerd Visscher's weblog
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.