Hacker GitHub

← All repos

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

Mentions per year 4 mentions · busiest year 2009 (4)
20082026
  1. ▲ 4
    JavaScript: No more callbacks (related to Node.js)
    story by swannodette · 2009-11-24 · 0 comments
  2. …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
  3. …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() {…
  4. 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 =…