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

From: Eli Barzilay (eli at barzilay.org)
Date: 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!


Posted on the users mailing list.