[plt-scheme] When would you use units rather than classes?
Grant Rettke
grettke at acm.org
Fri Apr 4 23:29:32 EDT 2008
On Fri, Apr 4, 2008 at 5:09 PM, Henk Boom <lunarc.lists at gmail.com> wrote:
> I am curious as well, though I'd like to note that modules belong in
> this discussion as well, as "seperately compilable and reusable
> components."
>From what I can gather, a module defines its dependencies, and how
they are fulfilled, only once. Every time that modules is utilized,
its internal bindings are the same.
Units define their dependencies, but not how they are fulfilled. Every
time you utilize a unit, you must satisfy its requirements.
More information about the plt-scheme
mailing list