On Wednesday, April 26, 2017 at 5:21:41 AM UTC+1, Jon Zeppieri wrote: > (define conf > (delay > (with-input-from-file ...))) > > Then just (force conf) whenever you want the value.
I tend to call promises xxx-promise (e.g. conf-promise), to remind me not to use them without force'ing them. Does anyone else hold to a convention for naming promises? Tim -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.