chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] There are (module)s and there are (declare (unit s))


From: Christian Kellermann
Subject: Re: [Chicken-users] There are (module)s and there are (declare (unit s))...
Date: Fri, 11 Dec 2009 09:23:46 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

Hi John,
* John Cowan <address@hidden> [091211 03:18]:
> IMHO, units are effectively obsolete unless you are dealing with such
> large volumes of code that Chicken/gcc can't compile them in one go.
> It's worth noting that the manual talks in terms of units, but all of
> them except "library", "eval", and "extras" correspond 1-1 with modules.
> (Some are in separate libraries, some aren't.)  Those three units contain
> the definitions for the "scheme" and "chicken" modules.

If both are compiled in the same (or loaded at runtime) why is the
.import.so file needed? Also I have seen that units do not contain
a list of exported symbols. is that the reason why the compiler
cannot tell me that I am using a symbol that is not defined at
compile time? I always thought it should be able to tell (unless I
am using a eval, load, or similar command with some variable input).

Sorry if I am mixing things here, at the moment it is just a big
knot in my head that wants to be cut through...

Thanks,

Christian




reply via email to

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