chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] use vs uses?


From: chi
Subject: [Chicken-users] use vs uses?
Date: Sat, 30 May 2015 22:36:56 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

(use a) versus (declare (uses a)) what's the differences between those?

(use a) will load module...library...module... what do you call the thing that (use) loads? Is it a library or a module?

...whereas (declare (uses a)) just requires that library to be loaded I think?

But then wouldn't (import a) and (declare (uses a)) be equivalent? Are they?

But (import) imports modules that are already loaded from libraries. Are libraries and modules equivalent? Can a library have more than one module? If a library has more than one module, then how does (use amodule) know to load the same library as (use bmodule)? Do modules have to be named after libraries? What's the difference between a module inline in your code and a library?

reply via email to

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