[plt-scheme] shared state across multiple REPLs

From: David Herman (dherman at ccs.neu.edu)
Date: Sat Jan 24 11:10:03 EST 2004

What's the rationale behind the following DrScheme behavior?

Open two DrScheme windows. In the first window, define a `foo' function 
in the definitions window and execute. In the second window, define a 
`bar' function in the definitions window and execute. Go back to the 
first window and type (foo) at the REPL. Then go to the second window 
and type (bar) at the REPL. Now return to the first window and hit 
Meta-P. You get (bar) as the last command, not (foo).

This means there's a global state representing the recent-command list, 
shared across multiple windows. Is this by design, an oversight, or 
just not important enough to fix?

Thanks,
Dave



Posted on the users mailing list.