[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Scheme-reports] programs and cond-expand
Michael Montague scripsit:
> I looked at (chibi test) when I started writing tests, but I did not
> see a way to test for syntax violations. For example, I wanted to
> have test that (lambda (x x) x) raises an exception. If (chibi test)
> can do that, I would happily switch to using it.
(test-error (eval '(lambda (x x) x) (interaction-environment)))
--
John Cowan cowan@x http://www.ccil.org/~cowan
Most people are much more ignorant about language than they are about
[other subjects], but they reckon that because they can talk and read and
write, their opinions about talking and reading and writing are as well
informed as anybody's. And since I have DNA, I'm entitled to carry on at
length about genetics without bothering to learn anything about it. Not.
--Mark Liberman
_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports