This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Quick syncase/syntax-rules question.


Mikael Djurfeldt <mdj@mdj.nada.kth.se> writes:

> BTW, it feels so awkward to have to remember these srfi numbers.  On
> one hand, I think the srfi:s should be available under such names.  On
> the other hand, I'd wish we had symbolic aliases as well, something
> like
> 
>   (srfi lists)
> 
> or maybe even included at the proper place in the hierarchy of modules
> which some future Guile standard will specify, e.g.
> 
>   (util lists)

The srfi-N names won't be the only names for these packages.  The
srfi-0 (i.e. cond-expand) docs state that it's expected that a future
srfi will add "common names" to srfi-0, so you'll be able to say:

  (cond-expand
    (lists-srfi ...))

or whatever.  It would be natural to use these same names to name the
guile modules.

  (cond-expand
    (guile (use-modules (srfi lists))))

-- 
Rob Browning <rlb@cs.utexas.edu> PGP=E80E0D04F521A094 532B97F5D64E3930

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]