guile-devel
[Top][All Lists]
Advanced

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

Re: module naming


From: thi
Subject: Re: module naming
Date: Tue, 8 May 2001 19:53:46 -0700

   From: Rob Browning <address@hidden>
   Date: 07 May 2001 08:51:56 -0500

   Yes.  If that renamer is supposed to apply to ice-9, then i think we
   should probably allow something more like:

     (define-module (my module)
      :use-module ((ice-9 common-list) :rename (c++-envy-renamer 'cl)))

   or in an "in-line" fashion

     (define-module (my-module))
     (use-module (ice-9 common-list) :rename (c++-envy-renamer 'cl))

what would a plain:

(use-module (ice-9 common-list))                ; no "s"

do?  currently, a plain:

(use-modules (ice-9 common-list))               ; yes "s"

means share all bindings.  if the first form has same meaning as the
second one, we should just stick w/ `use-modules'.  if the first form
has a different meaning than the second, i fear people will become
confused...

see my other recent mail, where i suggest using the syntax of your first
example above, for both `define-module' and "in-line" contexts...

thi



reply via email to

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