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:21:13 +0100
User-agent: Mutt/1.4.2.3i

On Mon, Mar 25, 2013 at 10:07:15AM +0100, Jörg F. Wittenberger wrote:
> What's more tricky is that bindings, e.g., make-hash-table
> resolve to unbond in the runtime initialization even though
> there is an (import srfi-69) in the module.
> 
> I can "fix" this by giving a (uses srfi-69) before the module.
> But that's precisely what I feel it's wrong.

import only loads the import library, it doesn't load the actual code.
For that you need to use require-library, or you can change the
import statement to be (require-extension srfi-69) or (use srfi-69),
which both loads and imports.

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



reply via email to

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