Hello David, On Mon 05 Dec 2011 09:11, David Kastrup <d...@gnu.org> writes:
> David Kastrup <d...@gnu.org> writes: > >>> (symbol-set! #f (string->symbol name) value) >> (module-define! (current-module) (string->symbol name) value) Indeed, the module system needs better documentation. >> Is this somebody's idea of a joke? It might be! I personally can't say though, as things have been this way for longer than my time in Guile. > Apparently. The C interface offers scm_define which works fine for this > purpose. Yes. Version 2.0.x has better-documented interfaces, here: http://www.gnu.org/software/guile/manual/html_node/Accessing-Modules-from-C.html The Scheme equivalents are not documented as well, however. Definitely a bug, there. Regards, Andy -- http://wingolog.org/