[racket] eval question
On Thu, 20 Nov 2014 15:54:58 +0000
Sam Tobin-Hochstadt <samth at cs.indiana.edu>
wrote:
> On Thu Nov 20 2014 at 10:42:08 AM Benjamin Greenman
> <blg59 at cornell.edu> wrote:
>
> > But why does eval's default namespace include "+" but not "expt"?
> >
>
> It doesn't include either `+` or `expt`. The initial value for
> `current-namespace` inside a module is an empty namespace.
>
> Sam
>
Yep, + didn't work either without the namespace thingie.
I simply wasn't aware of namespaces.
Thanks to all for the help. Now it works like a charm.
--
Manfred