chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] hygienic chicken and load/link/import forms


From: Peter Bex
Subject: Re: [Chicken-users] hygienic chicken and load/link/import forms
Date: Fri, 13 Jun 2008 12:31:49 +0200
User-agent: Mutt/1.4.2.3i

On Fri, Jun 13, 2008 at 12:02:57PM +0200, felix winkelmann wrote:
> On Fri, Jun 13, 2008 at 9:16 AM, Peter Bex <address@hidden> wrote:
> >
> > What makes "require" different from "require-library"?
> >
> 
> "require" is a function, which only executes at run-time. "require-library"
> would be a special form and expand differently, depending on whether
> we perform static linking or dynamic linking (and such would expand into
> "(declare (uses ...))" or "require").

What's the use of the distinction?

Not sure if it makes a lot of sense, but how about letting 'require' do
this always, removing require-library?  The functionality of the old
'require' could then be a hidden procedure local to the definition.

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth

Attachment: pgpJrGScB2OJ6.pgp
Description: PGP signature


reply via email to

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