Sjoerd Visscher has written a neat post about implementing algebraic data types in JavaScript. There are lots of ways to do this, but this one looks interesting. I don't quite understand it but I thought I'd point it out.
Note the use of expression closures! Good stuff.
Showing posts with label ADT. Show all posts
Showing posts with label ADT. Show all posts
Tuesday, June 17, 2008
Subscribe to:
Posts (Atom)
