chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] r7rs modules


From: Peter Bex
Subject: Re: [Chicken-hackers] r7rs modules
Date: Sun, 11 Nov 2012 12:33:34 +0100
User-agent: Mutt/1.4.2.3i

On Sun, Nov 11, 2012 at 11:32:00AM +0900, Alex Shinn wrote:
> On Sun, Nov 11, 2012 at 6:10 AM, Peter Bex <address@hidden> wrote:
> > One way to do this would be to extend our own "native" syntax to
> > allow complex module names that are vectors:
> > (use #(only x y)) will unambiguously load the module named #(ONLY X Y)
> > while (use (only x y)) will unambiguously load the module named X
> > and import only identified Y.
> >
> 
> A less ugly approach is to have a special module prefix
> (chicken <X>) which refers to the <X> egg, e.g. (chicken sqlite3)
> refers to the sqlite3 egg.

Or just plain (sqlite3), without extra qualifiers.

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



reply via email to

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