[plt-scheme] using mzscheme from command line

From: Robby Findler (robby at cs.uchicago.edu)
Date: Mon May 12 00:23:34 EDT 2003

The mzscheme binary matches the mzscheme language level, not the Pretty
Big language level. You need (lib "list.ss"). To wit:

Welcome to DrScheme, version 204.1-cvs11may2003.
Language: Textual (MzScheme, includes R5RS).
> (require (lib "list.ss"))
> (rest '(a b c))
(b c)
> 


% mzscheme -q
Welcome to MzScheme version 204.1, Copyright (c) 1995-2003 PLT
> (require (lib "list.ss"))
> (rest '(a b c))
(b c)
> 


Welcome to DrScheme, version 204.1-cvs11may2003.
Language: Pretty Big (includes MrEd and Advanced).
> (rest '(a b c))
(b c)
> 

Hope that helps.

Robby

At Mon, 12 May 2003 14:00:40 +1000, Chris Wright wrote:
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> 
> Mac os x, and plt 2.4
> 
> bash-2.05a$ echo $PLTHOME
> /Applications/PLT_v204/
> bash-2.05a$ mzscheme
> Welcome to MzScheme version 204, Copyright (c) 1995-2003 PLT
>  > (require (lib "compat.ss"))
>  > (rest '(a b c))
> reference to undefined identifier: rest
>  >
> 
> but it works fine from drscheme:
> 
> Welcome to DrScheme, version 204.
> Language: Pretty Big (includes MrEd and Advanced).
>  > (require (lib "compat.ss"))
>  > (rest '(a b c))
> (b c)
>  >
> 
> I don't understand this...and await the brick-to-the-head which will 
> lead to enlightenment!
> 
> cheers and thanks
> 
> Chris
> 
> 
> 
> 
> Dr. Chris Wright
> Medical Director
> Intensive Care Unit
> Monash Medical Centre, Clayton VIC
> 
> 



Posted on the users mailing list.