> On Mar 5, 2017, at 6:09 AM, Matt Wette wrote:
>
>>
>> On Mar 5, 2017, at 12:17 AM, Thien-Thi Nguyen wrote:
>>
>>
>> () Matt Wette
>> () Sat, 4 Mar 2017 10:57:19 -0800
>>
>> I don’t know how to get the list-symbol path “mod from env”
>> from the env argument. Any ideas?
>>
>> I think
> On Mar 5, 2017, at 12:17 AM, Thien-Thi Nguyen wrote:
>
>
> () Matt Wette
> () Sat, 4 Mar 2017 10:57:19 -0800
>
> I don’t know how to get the list-symbol path “mod from env”
> from the env argument. Any ideas?
>
> I think ‘module-name’ is what you need:
>
> scheme@(guile-user)> (curre
() Matt Wette
() Sat, 4 Mar 2017 10:57:19 -0800
I don’t know how to get the list-symbol path “mod from env”
from the env argument. Any ideas?
I think ‘module-name’ is what you need:
scheme@(guile-user)> (current-module)
$1 = #
scheme@(guile-user)> (module-name (current-module))
$2 =
I am working on “Compiling to the Virtual Machine”. Guile passes an `env’
object to the parser/compiler which is apparently the module object for the
desired execution environment.
To reference top-level variables in (external) tree-il I am using
'(toplevel foo)
but I guess I should b