On Jul 29, 2015, at 7:50 AM, Klaus Ostermann wrote:

> Thanks, Matthew and Matthias. The service on this mailing list is incredible!
> 
> I know it is not cbn because it is local, but a better name didn't come to my 
> mind and it is what I need to solve my problem.


It's not about locality, the problem is that it runs the thunks at the wrong 
time. 

Example: 

  (let ((x (/ 1 0)))
    ((lambda (y) (displayln `(hello world))) 
     x))

in CBN would _first_ show hello-world and then raise the exception but your 
let-cbn will raise the exception first and never display anything on the output 
port. 

-- Matthias

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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to