[plt-scheme] Incremental development with DrScheme or MzScheme

From: Eli Barzilay (eli at barzilay.org)
Date: Thu Oct 4 13:57:49 EDT 2007

On Oct  4, Keith Frost wrote:
> Please share your hack with the list.

(I did post it a few times previously.)

It's at http://tmp.barzilay.org/interactive.ss -- and the top of the
file has the highlevel description of what it does.  Specifically,
you'll probably like ,enter (goes into a module namespace, for any
usual module specification) and ,reload.

> While I agree that the DrScheme workflow (especially with
> SchemeUnit) is usually better, sometimes I write code that starts by
> defining objects which load and process lots of data, and it can
> require odd work-arounds (serializing and de-serializing the objects
> in question) when the REPL gets reset on every code change.

(That's pretty close to convincing me that I should hide that file...)

> And working through emacs, (require "my-module.ss") doesn't reload
> the module....

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!

Posted on the users mailing list.