[plt-scheme] running mzscheme in 3.99.0.23

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Sat May 3 16:14:25 EDT 2008

When you're in a module, things are printed out.

When you're in a teaching language, the implicit module installs a  
non-printer at top-level. You might want to ask why, and the best  
answer is that we're not completely finished with the module move  
yet. Matthew has pushed for

  #lang htdp/beginner

(or things like that) and this may just come with 4.1. But this means  
that we also have to rethink drscheme's relationship to the lang part.

-- Matthias





On May 3, 2008, at 2:45 PM, Prabhakar Ragde wrote:

> I'm trying to figure out how things will change for students when  
> we move to v400. When I write a program in Beginning Student like
>
> (define (mysqr x) (* x x))
> (mysqr 6)
>
> and save it in "test.ss", then run "mzscheme test.ss" on the  
> command line, nothing is printed out. But if I change the language  
> to Module (mostly so the metadata goes away), put
>
> #lang scheme/base
>
> at the top of the file, save it as "test2.ss", and run "mzscheme  
> test2.ss", 36 is printed out. I don't think I would have predicted  
> that, but I'm sure there's a consistent explanation. What governs  
> what is printed out, and can I change either of these behaviours?  
> Thanks. --PR
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme



Posted on the users mailing list.