I am using guile 1.3.4 on Debian frozen. These two should be equivalent
according to my understanding of Scheme:

        guile> (delay 1)
        #<promise #<procedure ()>>
        guile> (let () (delay 1))
        standard input:2:9: In procedure delay in expression (delay 1):
        standard input:2:9: missing or extra expression
        ABORT: (misc-error)

        Type "(backtrace)" to get more information.
        guile> (quit)

delay seems to work in "expression"-like contexts, and fail in
"procedure-body" contexts.

Thanks,
                                        Galen

Reply via email to