chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] The point of 'provide'


From: Peter Bex
Subject: Re: [Chicken-users] The point of 'provide'
Date: Tue, 5 Jan 2010 14:59:21 +0100
User-agent: Mutt/1.4.2.3i

On Sun, Jan 03, 2010 at 10:13:05PM -0500, John Cowan wrote:
> Peter Bex scripsit:
> 
> > My goal here is to load a file regardless of whether it was loaded by
> > some bootstrap code or installed as an extension.
> > 
> > Is there a way to do this programmatically?
> 
> Require does the job as far as mere loading is concerned, but as for
> programmatic importing, you must use the undocumented ##sys#import
> procedure.

That's interesting, but what I really meant was: "is there a way to add
directories to where USE looks for extensions?"

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth




reply via email to

[Prev in Thread] Current Thread [Next in Thread]