I don't think it is a very portable solution, but you can use
"module-obarray" procedure that returns an appropriate hash table, for
example:

(hash-map->list cons (module-obarray (current-module)))

(You can use resolve-module with quoted module name for other modules)

Best regards,
Panicz


2016-06-13 20:38 GMT+02:00 source liu <[email protected]>:

> Hi,
>
> glad to join the list
>
> I wonder if there is some way to dump all available symbols in current
> enviroment(something like “dir” in python), i think it is very useful when
> you are trying new modules
>
> I have tried the guile reference guide as well as google,but cant find any
> clue
>
> Any suggestion?
>
> great thanks
>
>
> --
> Liu An
> Institution of modern physics, Shanghai, China
>

Reply via email to