User loginNavigation |
Algebraic Data Types in JavaScriptIt is generally known that JavaScript supports a functional style of programming. But because it does not have algebraic data types, the functional programming is usually limited to some simple higher order functions applied to Arrays. I have often build small libraries that allow working with some aspects of algebraic data types in JavaScript. This time I thought is was cool enough to write a bit about it: Algebraic Data Types in JavaScript It includes:
I also show how to do the Data Types à la carte style of Wouter Swierstra with this library. By Sjoerd Visscher at 2008-06-17 17:42 | LtU Forum | previous forum topic | next forum topic | other blogs | 23221 reads
|
Browse archives
Active forum topics
|
Recent comments
1 week 6 days ago
2 weeks 4 days ago
2 weeks 5 days ago
2 weeks 5 days ago
3 weeks 3 days ago
3 weeks 6 days ago
3 weeks 6 days ago
3 weeks 6 days ago
5 weeks 1 day ago
5 weeks 3 days ago