Re: Module reflection and the list of bound symbols

2012-09-30 Thread David Pirotte
Hello, > ... to get only the public (exported) ones using the > interfaces, but that is beyond my knowledge at the moment. Here is what i do, see the attached code [which i copied from guile-gnome], then you can use it this way, as an example: 1. you define a module b and export some ... 2.

Re: Module reflection and the list of bound symbols

2012-09-30 Thread Ian Price
Panicz Maciej Godek writes: > On the other hand, there is no way (or I haven't found one) > to list the bound symbols explicitly. It seems tempting to > have a reflection function `module-symbols' or `environment-symbols' > that would return the names of bound symbols, > or to have functions like

Re: Module reflection and the list of bound symbols

2012-09-28 Thread Thien-Thi Nguyen
() Panicz Maciej Godek () Fri, 28 Sep 2012 19:37:17 +0200 (Or maybe I just overlooked something, and they are already available?) Check out ‘(ice-9 session) apropos’ to see what it does. In Guile 1.4, one of its subroutines: (define apropos-fold-exported (make-fold-modules root-modules