Yet Another approach to lazy evaluation (aka promises) - continuation passing style

4 views
Skip to first unread message

Nickolay Platonov

unread,
Apr 10, 2010, 3:29:45 AM4/10/10
to joose-js, js...@googlegroups.com
Hello,

I'd like to present the implementation of Yet Another approach to lazy evaluation (aka promises) - continuation passing style[1].

http://openjsan.org/go/?l=JooseX.CPS

IMO lazy evaluation is mostly suitable for the high-level *functional* languages.

Thus, though both approaches are very close in spirit, considering the imperative nature of JavaScript,
continuation passing is a preferable solution.

Presented module is focused right on CPS. API is currently in alpha stage and may change, if/when new use cases
will need to be supported.

Constructive feedback is welcome.

Regards, Nickolay

[1]: http://en.wikipedia.org/wiki/Continuation-passing_style

jhuni

unread,
Apr 11, 2010, 7:20:53 AM4/11/10
to JSAN Users
Keep up the good work.

It seems you have excellent docs on the Task files here, but nothing
on the individual components, similar to Joose 3.0, personally I don't
like being mystified by "what is this file here?" but thats just me =/

Even if it was just like a paragraph on each file saying what it is,
like "This file here does ..."

Reply all
Reply to author
Forward
0 new messages