[plt-scheme] invoke-unit/sig evaluates its body twice

From: Daniel Pinto de Mello e Silva (daniel.silva at gmail.com)
Date: Mon Feb 28 15:48:10 EST 2005

The invoke-unit/sig syntax seems to be evaluating its body twice.  Is
that normal?

> (invoke-unit/sig
   (begin (printf "test~n")
          (unit/sig () (import)
            (printf "invoked~n"))))
test
test
invoked
>

Daniel



Posted on the users mailing list.