[plt-scheme] Can I create module on the fly?

Eli Barzilay eli at barzilay.org
Thu Jul 17 16:57:14 EDT 2008


On Jul 17, Grant Rettke wrote:
> >> Just thinking out loud. How about:
> >>
> >>    1. Use write to save  md  to a file named "md.scm".
> >>    2. Use dynamic-require.
> >>
> >> ?
> >
> > (BTW, this is equivalent to `eval' -- and having this done for
> > expressions that you read from a port is not really a good idea...)
> 
> Do you mean that it is the same under the hood?

In both cases you evaluate random code.

-- 
          ((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