Marco Maggi
2009-11-01 15:05:51 UTC
Ciao,
the form "(let ())" is a syntax violation, so the
following:
(import (rnrs) (rnrs eval))
(guard (E ((syntax-violation? E)
(display #t))
(else
(write E)))
(eval '(let ())
(environment '(rnrs))))
prints #t with Ikarus, Mosh and Ypsilon; with Larceny it
aborts the process with:
Syntax violation: let
Invalid form
Form: (let ())
Trace:
(let ())
#t
is this correct?
the form "(let ())" is a syntax violation, so the
following:
(import (rnrs) (rnrs eval))
(guard (E ((syntax-violation? E)
(display #t))
(else
(write E)))
(eval '(let ())
(environment '(rnrs))))
prints #t with Ikarus, Mosh and Ypsilon; with Larceny it
aborts the process with:
Syntax violation: let
Invalid form
Form: (let ())
Trace:
(let ())
#t
is this correct?
--
Marco Maggi
Marco Maggi