Here are more examples: https://gist.github.com/azer/5290247
It compares using map & comp modules from NPM and using RVSP.js. On Mon, Apr 1, 2013 at 8:41 PM, Azer Koçulu <[email protected]> wrote: > Hi All, > > I still wonder how promises is different with function composition. > > Check this library that I created, comp: https://github.com/azer/comp > > It allows you create function compositions like this; > > steps = comp(step1, step2, step3) > > or like this; > > steps = comp(step1).then(step2).then(step3) > > And you composition gets executed like this; > > steps(value1, function(error, value4){}) > > What do you think? > > Azer -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
