chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] units used by default


From: felix winkelmann
Subject: Re: [Chicken-hackers] units used by default
Date: Wed, 9 Sep 2009 10:13:41 +0200

On Wed, Sep 9, 2009 at 10:06 AM, John Cowan<address@hidden> wrote:
> felix winkelmann scripsit:
>
>> You shouldn't "use" these: library + eval can not be imported directly,
>> they provide the implementation of the exports of the "scheme" and
>> "chicken" modules. There are no modules with the names "library"
>> or "scheme", just compilation units, which have the particular
>> property that they are available by default.
>
> Whereas all other compilation units are modules?  That's confusing.
> I don't reject it out of hand, but it's confusing.

No, there are compilation units and there are modules. There is no
implied 1-to-1 correspondence. The scheduler for example is a compilation
unit but not a module. It is just used and called internally. The default
usage of extensions uses a 1-to-1 mapping, but even that is optional.

This may be confusing, I agree.


cheers,
felix




reply via email to

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