[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to get a list of top-level definitions?
From: |
Rob Browning |
Subject: |
Re: How to get a list of top-level definitions? |
Date: |
12 Jun 2001 13:07:55 -0500 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Sam Tregar <address@hidden> writes:
> Ok. Is there some easy way to scan the defines given a module name?
I think there's probably a similar function for all bindings, but for
the public ones, you can do this.
(module-for-each
(lambda (name binding)
(simple-format #t "~A is bound to ~A\n" name binding))
(module-public-interface (resolve-module '(ice-9 syncase))))
You might want to check in ice-9/boot-9.scm for the related
functions.
Hope this helps.
--
Rob Browning <address@hidden> PGP=E80E0D04F521A094 532B97F5D64E3930