[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: get all available symbols in scheme
From: |
Panicz Maciej Godek |
Subject: |
Re: get all available symbols in scheme |
Date: |
Mon, 13 Jun 2016 21:22:15 +0200 |
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 <address@hidden>:
> 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
>