> On Mar 5, 2017, at 6:09 AM, Matt Wette <matt.we...@gmail.com> wrote: > >> >> On Mar 5, 2017, at 12:17 AM, Thien-Thi Nguyen <t...@gnu.org> wrote: >> >> >> () Matt Wette <matt.we...@gmail.com> >> () 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 = #<directory (guile-user) 83e2630> >> scheme@(guile-user)> (module-name (current-module)) >> $2 = (guile-user) > > Thanks!
It works, but have to use @@. scheme@(guile-user)> (define a 123) scheme@(guile-user)> ,L javascript Happy hacking with javascript! To switch back, type `,L scheme'. javascript@(guile-user)> a = 1 (set! (@@ (guile-user) a) (const 1)) javascript@(guile-user)> ,L scheme Happy hacking with Scheme! To switch back, type `,L javascript'. scheme@(guile-user)> a $1 = 1