chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] to "uses" or not to "uses"


From: Peter Bex
Subject: Re: [Chicken-users] to "uses" or not to "uses"
Date: Mon, 25 Mar 2013 10:55:11 +0100
User-agent: Mutt/1.4.2.3i

On Mon, Mar 25, 2013 at 10:52:39AM +0100, Jörg F. Wittenberger wrote:
> On Mar 25 2013, Peter Bex wrote:
> These both don't cut it for me.
> 
> I'm using rather often (import (only module ....) (except from sonthing))
> 
> Both use and require-extension seem to import all bindings.

Please read the manual; USE accepts these import specifiers as well, and
like I pointed out before, you can also use require-library followed by
an import (the require-library form just loads the code and makes it
available).

> Also at the moment I can't really get the thing to use the statically
> bound .o files reliably.  The stripped down test case picks it up.
> But in the full code, it fails with ##sys#require not finding the
> code.

I don't understand what you mean by this.  USE doesn't work with
statically linked objects, only dynamically linked libraries.

Cheers,
Peter
-- 
http://www.more-magic.net



reply via email to

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