[plt-scheme] debugger/stepper

From: Eli Barzilay (eli at barzilay.org)
Date: Fri Aug 4 19:48:27 EDT 2006

On Aug  4, Corey Sweeney wrote:
> I have one file that loads another via (load "thing.scm")

Everytime you (load "thing.scm"), imagine you did this:

  (with-input-from-file "thing.scm"
    (lambda ()
      (let loop ()
        (let ([expr (read)])
          (unless (eof-object? expr)
            (eval expr)

It looks bad to use eval that way, but this is roughly what `load'
really does.

> [...]
> (note: i don't use modules during the development phase, as the
> namespace "protection" blocks expirmentation, and i seem to spend
> most of my time un-doing modules that i've done)

You could use (provide (all-defined)).

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

Posted on the users mailing list.