This library is using a prototypal inheritance approach to achieve some of the similar functional programming styles similar to scala/functional java
S.data.Lists.list(1,2,3,4)
.map(function(n){ return n*n; })
.filter(function(n){ return n > 10; })
.fold(function(a,b){ return a+b; }, 0);
//=>16
Much of the implementation is a mesh of ideas and functions from
- https://code.google.com/p/totallylazy/
- http://functionaljava.org/
- https://developers.google.com/closure/library/
- http://underscorejs.org/
And the book Functional Java
testing is run by using python to run a webserver from the project base with jasmine
python -m SimpleHTTPServer
http://localhost:8000/SpecRunner.html
Streams