From: "adriano" 

> (import (ice-9 control))
 >
 > (define (test x)
 > (let/ec return
 > (cond
 > ((= x 3) (return 7))
 > ((= x 2) (return 5)))))

 > What does this return (defined with let/ec) do ?

 > In the orevious versions I could see the call to call/cc so I could
 > (somewhat) figure out the "jump" imlpied by calling return

> But in this last case, where is the return behaviour defined ?

See
https://www.gnu.org/software/guile/manual/guile.html#index-let_002fec

-Dale


Reply via email to