[gambit-list] Current namespace at the repl

Duncan Watts djmwatts at gmail.com
Thu Jul 28 16:02:36 EDT 2016


Thanks Marc, that's a great hack!

On 28 July 2016 at 22:52, Marc Feeley <dr.marc.feeley at gmail.com> wrote:

> A bit of a hack... Try:
>
> (##caddr (##decompile (##lambda () ||)))
>
> You can define a macro based on that idea.
>
> Marc
>
> > On Jul 28, 2016, at 12:09 PM, Duncan Watts <djmwatts at gmail.com> wrote:
> >
> > Is there a function (or would it be easy to access the internals to
> write one) to find out what the currently active namespace is at the repl.
> Ie after entering a few (namespace ("foo#")) expressions it would be nice
> to be able check what the current namespace is with eg (current-namespace)
> --> "foo#"
> >
> > Thanks
> > Duncan
> > _______________________________________________
> > Gambit-list mailing list
> > Gambit-list at iro.umontreal.ca
> > https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20160729/675a1e6e/attachment.htm>


More information about the Gambit-list mailing list