Re: [Scheme-reports] programs and cond-expand Michael Montague (24 Oct 2013 04:14 UTC)
Re: [Scheme-reports] programs and cond-expand John Cowan (24 Oct 2013 13:51 UTC)
Re: [Scheme-reports] programs and cond-expand Michael Montague (24 Oct 2013 15:53 UTC)
Re: [Scheme-reports] programs and cond-expand Alex Shinn (25 Oct 2013 00:49 UTC)
Re: [Scheme-reports] programs and cond-expand Michael Montague (25 Oct 2013 04:09 UTC)
Re: [Scheme-reports] programs and cond-expand Michael Montague (25 Oct 2013 04:50 UTC)
Re: [Scheme-reports] programs and cond-expand John Cowan (25 Oct 2013 05:28 UTC)

Re: [Scheme-reports] programs and cond-expand John Cowan 24 Oct 2013 13:50 UTC

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@ccil.org          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@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports