[plt-scheme] define-promise-type and let-promise-type

From: Jos Koot (jos.koot at telefonica.net)
Date: Tue Oct 28 17:38:26 EDT 2008

Attached a module that exports delay, lazy, force and promise?, but in addition the syntaxes: define-promise-type and let-promise-type. The latter two define cq locally bind distinct types of promises. A force of a promise of some type does not force promises of any other type. The module is based on that currently used in PLT Scheme.

Syntax define-promise-type would allow me to implement srfi 41 for PLT fully compliant to the srfi 45 document without duplicating srfi-45.

Your comments are welcome, of course.

Best wishes, Jos

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20081028/9029b747/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: define-promise-type.ss
Type: application/octet-stream
Size: 6534 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20081028/9029b747/attachment.obj>

Posted on the users mailing list.