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