[Larceny-users] uncatchable syntax violation

Marco Maggi marco.maggi-ipsu at poste.it
Sun Nov 1 10:05:51 EST 2009


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?
-- 
Marco Maggi



More information about the Larceny-users mailing list