I'd like to have a macro "let-cbn" which does this:

(let-cbn ((x1 e1) ...) body)

is transformed to

(let ((x1 (thunk e1)) ...) newbody)

where newbody is the result of replacing every occurence of x1... by (x1)... .

What is the best way to do that in Racket?

-- 
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.

Reply via email to