ShiftSpace/promises
View on GitHub ↗ ★ 26 JavaScript
Promises for MooTools
4 mentions on Hacker News by 1 person: 1 story, 3 comments · first 2009-10-25 · latest 2009-11-24
20082026
-
…to Node.js ;) It's only about 300 LOC (another 5 or so to implement function decoration). http://github.com/ShiftSpace/promises
comment by swannodette · 2009-11-24 · in Node.js is genuinely exciting -
…as functions, currying any function parameter, function composition, arity dispatch, etc. Check out http://github.com/ShiftSpace/promises for bringing functional sanity to AJAX requests as well support for lazy values: function example() {…
comment by swannodette · 2009-10-28 · in Underscore.js: Functional Programming for jQuery -
In conjunction with the Promises library ( http://github.com/ShiftSpace/promises ) you can also do things like the following: var sum = $arity( function(a) { return a; }, function(a, b) { return add(a, b.first()); } ); var lazyValues =…
comment by swannodette · 2009-10-25 · in FP for MooTools: decorators, preconditions, currying, arity dispatch, etc...