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]

Re: require vs use-modules



chrisb@ans.com.au writes:
> 
> What if any is the relationship between slib's (require ..) and guile's
> (use-module ...)
> 
> Should I favour one over the other? Are they interchangable? Are they
> meant for
> different purposes?
> 

One works for Guile modules, the other works for slib packages. They
are not interchangable, AFAIK there is no package you can load using
both methods. Personally, I would like to see slib packages made
visible in the Guile module namespace, I have some ideas on this but I
might wait for Godot before taking a crack at it.

 - Maciej