This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: the right way to compile and load modules


On May 13, 2014, at 3:40 AM, mikel evins <mevins@me.com> wrote:

> How can I make a system load file that will import or require all of the sources of a project into an interactive session without using load?

Turns out it's easy. If my source files are foo.scm, bar.scm, and baz,scm, I just make a a loadfile like this:

(require "foo,scm")
(require "bar,scm")
(require "baz,scm")

...and place the loadfile in the same directory as "foo.scm", "bar.scm", and "baz.scm".




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]