Looking over the Racket namespace routines, I think I can get them to map 
pretty much exactly to the way *scmutils* uses environments.  Not as bad as 
I expected, in fact I think it might be relatively easy.  I have never 
worked with namespaces in this way before, but even so everything seems 
reasonably clear.

As Philip said there may be far better ways to do this, but I want to get 
the code up and working, as close to the *scmutils* original as is 
practical, and only from then start improving / refactoring / modularising 
/ substituting or whatever.   (Racket/serialize sounds interesting)

On Sunday, August 5, 2018 at 3:16:34 AM UTC+1, Alex Gian wrote:
>
> Well, I can now get a namespace out of any particular module!
>
> e.g:
> > (module->namespace 'rat/src/polynomial/polynomial)
>
> #<namespace:"/media/alex/f3969bab-6765-4fbe-a474-0e0a2dae2cbf/home/alex/Blah-blah/rat/src/polynomial/polynomial.rkt":0>
>
> Many, many thanks to those who helped clear this up.
>
> Onward now, to see how that will work with eval.  
> And then to see if those scmutils environments can be sensibly simulated.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to