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] |
Alex Stark writes: > 1) How to put an scm module somewhere in my home space unrelated to the > current directory, set a path variable and then just load the thing w/o > the path name; If mylib.scm is declared as module `(personal mylib)', then put it in ~/local/shared/personal, and have applications that need it do something like: (set! %load-path (cons (string-append (getenv "HOME") "/local/shared") %load-path)) (use-modules (personal mylib)) See file thud.in in the thud distribution for an example. thi