This is the mail archive of the guile@cygnus.com mailing list for the guile project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
>>>>> "thi" == thi <ttn@netcom.com> writes: thi> ...the external representation of a module is a list... In recent snapshots, the external name for the root module is `guile-user'. This means that the two expressions: (set-current-module the-root-module) and (define-module (guile-user)) should be the same (I haven't tried this though). If you want your own the-foobar-module variable, you could something like this, in a file using the foo module: (define-module (foo bar baz)) (define-public the-foo-bar-baz-module) but using (resolve-module '(foo bar baz)) as thi showed is of course just as good. ---------------------------+-------------------------------------------------- Christian Lynbech | Telebit Communications A/S Fax: +45 8628 8186 | Fabrik 11, DK-8260 Viby J Phone: +45 8628 8177 + 28 | email: chl@tbit.dk --- URL: http://www.telebit.dk ---------------------------+-------------------------------------------------- Hit the philistines three times over the head with the Elisp reference manual. - petonic@hal.com (Michael A. Petonic)