makeLazySlot: "nonlocal exit by lazy slot's maker"

Thomas Leonard <tal-v5nx5w6akNyLE8xUarVfuPLx9OUvmyODWmv/[email protected]>
Newsgroups gmane.comp.lang.e.general
Organization IT Innovation
Message-ID <1294406439.1940.4.camel@farnia>
makeLazySlot checks that it was successful by checking that the result
is resolved. This doesn't work if the maker function returns a promise.

Here's a patch:

http://gitorious.org/~tal-itinnov/repo-roscidus/it-innovation/commit/63aa9352a6b4bad1878fa75f1f2d563b3aeac84c

A side-effect of this is that the maker function can now be garbage
collected once it's been used.


-- 
Dr Thomas Leonard
IT Innovation Centre
2 Venture Road
Southampton
Hampshire SO16 7NP

Tel: +44 0 23 8076 0834
Fax: +44 0 23 8076 0833
mailto:tal-v5nx5w6akNyLE8xUarVfuPLx9OUvmyODWmv/[email protected]
http://www.it-innovation.soton.ac.uk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.