Guile Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: require vs use-modules
Chris Bitmead <firstname.lastname@example.org> writes:
> What if any is the relationship between slib's (require ..) and guile's
> (use-module ...)
`use-modules' tells Guile which modules from which we should import
`require' tells Guile that a certain slib library should be loaded
into and exported from the (ice-9 slib) module.
> Should I favour one over the other?
Yes, depending on situation: Use `use-modules' when loading Guile
modules. Use `require' when loading slib libraries.
> Are they interchangable?
> Are they meant for different purposes?
Guile Home |
Main Index |