Re: Scheme bug in internal define

From: Keith Wright <kwright_at_tiac.net>
Date: Sun, 9 Nov 97 16:11 EST

>
> Keith Wright writes:
> > The following program exhibits a bug in both STk and Guile.
> > One would expect it either to print "good" twice, or

> > to display an error message.

> > (bug)
>
> I believe all (define ...) statements must appear first within
> a block and may not be intermixed with other code. If you do,
> the behaviour is undefined. I don't remember if this is defined
> in R4RS somewhere; it's briefly mentioned in SICP.
>
 Oh good grief, I _know_ the program isn't R4RS, that's why I said
"or display error message." Reject the program if you must, but
substuting one variable for a different one without a message is
no good.

-- 
     --Keith
This mail message sent by GNU emacs and Linux.
Power to the people. Linux is here.
Food, Shelter, Source code.
Received on Sun Nov 09 1997 - 22:11:56 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST