[plt-scheme] error in student languages

From: Stephen Bloch (sbloch at adelphi.edu)
Date: Thu Dec 31 12:40:11 EST 2009

On Dec 31, 2009, at 12:10 PM, Matthias Felleisen wrote:

> error takes an arbitrary number of arguments: 
> 
>> Welcome to DrScheme, version 4.2.3.8-svn29dec2009 [3m].
>> Language: Intermediate Student with lambda.
>>> (error 'a " hello " 10 " world" )
>> a:  hello 10 world

Not in 4.2.3, on my computer.
> Welcome to DrScheme, version 4.2.3 [3m].
> Language: Intermediate Student with lambda; memory limit: 128 megabytes.
> > (error 'a "hello" "goodbye")
> procedure error: expects 1 argument, given 3: 'a "hello" "goodbye"

Robby suggests this was changed in 4.2.3.  From Matthias's example, it appears to have been changed BACK in svn.  Please make up your minds; I want to cover "error" in a textbook.

Stephen Bloch
sbloch at adelphi.edu



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20091231/b5a068aa/attachment.html>

Posted on the users mailing list.