Oh cool, I didn't know that existed. Thanks for sharing.
~Leif Andersen On Tue, Sep 15, 2015 at 12:37 AM, Jens Axel Søgaard <jensa...@soegaard.net> wrote: > FWIW an alternative to (let () ...) is block. > > http://docs.racket-lang.org/reference/block.html?q=block > > 2015-09-15 0:16 GMT+02:00 John Carmack <jo...@oculus.com>: > >> Is there a deep reason why defines aren’t allowed in the branches of an >> if, but are for cond / while / unless? >> >> >> >> Wrapping code in (let() …) instead of (begin …) works fine, but it is a >> strange quirk to explain to someone else. >> >> >> >> -- >> 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. >> > > > > -- > -- > Jens Axel Søgaard > > -- > 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. > -- 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.