You can make a code rewriting layer that brings this behavior.<div><br></div><div>For another example of a code rewriting layer, see FrTime.</div><div><br></div><div>Generally somehow doing this through/atop a module system is the most conveient thing.<br>

<br><div class="gmail_quote">2013/4/29 Jason Felice <span dir="ltr"><<a href="mailto:jason.m.felice@gmail.com" target="_blank">jason.m.felice@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div>Promises as specified in the Scheme spec are not terribly useful... but I was thinking that I could make a much cleaner implementation of lazy sequences and other things given a Scheme runtime which automatically forced promises when the promise is operated on as a value.</div>


<div><br></div><div>I was wondering if anyone's thought about doing this.  Also, if it's really as hard as making every primitive (except, course, promise?, promise-forced? and friends) check and force every parameter, or if there are any neat implementation tricks, especially if there's something which can be used in gambit (like error-handler, but that seems gross.  Also, incomplete and messy).</div>

<span class="HOEnZb"><font color="#888888">
<div><br></div><div>-Jason</div></font></span></div>
<br>_______________________________________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
<br></blockquote></div><br></div>