[plt-scheme] debugger/stepper
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)
(loop))))))
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!