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] |
Is there a way for a function to know in which module it is defined? To clarify: (define-module (used-module)) (define-public (fun) (my-module)) ^^^^^^^^^^^ (define-module (using-module) #:use-modules (used-module)) (fun) => returns (used-module) Is there any way to write the `my-module' function?