[plt-scheme] `load` from custom port?

Eli Barzilay eli at barzilay.org
Wed Jun 25 21:11:39 EDT 2008


On Jun 25, YC wrote:
> is there a way to have `load` to read from a custom port instead of
> from filesystem?

You can write a loop that will read expressions from the port and pass
them to `eval'.  It's basically what `load' does.

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



More information about the plt-scheme mailing list