[plt-scheme] Resetting the mzscheme environment

From: Rohan Nicholls (rohan.nicholls at googlemail.com)
Date: Wed Oct 24 03:25:50 EDT 2007

Thanks for the link, I will need to reread the essay.  I read it a
couple of years ago, but I think I really only got it on a high
level.

Thanks for the pointer.  Too bad there was no magic formula. ;)

Rohan

On 10/23/07, Robby Findler <robby at cs.uchicago.edu> wrote:
> The tools are all there in the mzscheme/mred manuals. You need to
> create a new custodian, namespace, thread, etc. There is nothing
> baked-in to drscheme. You might try reading this paper:
>
>   http://www.ccs.neu.edu/scheme/pubs/#icfp99-ffkf
>
> Robby
>
> On 10/23/07, Rohan Nicholls <rohan.nicholls at googlemail.com> wrote:
> > Hello again,
> >
> > I have been saving questions up as I explore (as if for the first
> > time) the plt environment.
> >
> > Things I have been stumbling on and loving:
> >
> > * (p)regexp intergration
> > * expressiveness of the module system (I thought python had this
> >   bagged, but apparently not as fully as it could be).
> > * reworked function parameter handling system.  Really nice, not as
> >   intuitive as python, but as flexible and more expressive, and the
> >   addition of keyword arguments was very needed (imho), although
> >   swindle supplied it before.
> > And there is more to discover.
> >
> > The current question:
> >
> > If I using mzscheme as a prompt how can I read in a module again?  If
> > I try it, it does not work.  Resetting the mzscheme environment is
> > perfectly fine, but I cannot figure out how to do this.
> >
> > In the plt guide I ran into this (yes I am using the svn version):
> >
> >    With mzscheme, you'd save the above text in a file using your
> >    favorite editor. If you save it as "piece.ss", then after starting
> >    mzscheme in the same directory, you'd evaluate the following
> >    sequence:
> >
> >      > (enter! "piece.ss")
> >
> > But I get an undefined symbol error if I try and use it.  I have big
> > loaded in my mzschemerc which solved most language problems while
> > trying out the examples in the guide, but not this one.
> >
> > At the moment I have to restart the interpreter, which is not all that
> > handy.  I could probably hack something up to automate the process
> > if needed but would prefer to find something that could handle this
> > within the system.  I know that Dr.Scheme resets the environment
> > before executing code, but maybe this is a Dr. Scheme specific thing.
> > If the mechanism is in mred, I am happy to use that as my interpreter.
> >
> > Thanks in advance,
> >
> > Rohan
> > _________________________________________________
> >   For list-related administrative tasks:
> >   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> >
>


Posted on the users mailing list.