unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: Clinton Ebadi <clinton@unknownlamer.org>
Cc: guile-user@gnu.org
Subject: Re: rfc (define-module ... #:use-modules ...)
Date: Thu, 04 Oct 2007 21:09:40 +0200	[thread overview]
Message-ID: <87hcl6ofwr.fsf@ambire.localdomain> (raw)
In-Reply-To: <87k5q2u7ip.fsf@unknownlamer.org> (Clinton Ebadi's message of "Thu\, 04 Oct 2007 13\:14\:22 -0400")

() Clinton Ebadi <clinton@unknownlamer.org>
() Thu, 04 Oct 2007 13:14:22 -0400

   I would prefer something with the syntax 

   #:use-modules ((a b c) 
                  ((d e f) #:select (x y z)))

that was actually my first inclination.  i suppose this way there is
also a better congruence in the differences:

 r6rs-export  :  guile-export  ::  r6rs-import  :  guile-use-modules

 (export ...)    #:export (...)    (import ...)    #:use-modules (...)

it still differs from (use-modules ...), the top-level macro, though.

probably true sugar-rush madness would be to accomodate both styles:
recognize both `#:import (X Y Z)' and `#:use-modules X Y Z'.  hmmm.

thi


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user


  reply	other threads:[~2007-10-04 19:09 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-04 14:10 rfc (define-module ... #:use-modules ...) Thien-Thi Nguyen
2007-10-04 15:29 ` Ludovic Courtès
2007-10-04 18:40   ` Thien-Thi Nguyen
2007-10-04 15:30 ` Mike Gran
2007-10-04 16:29   ` Ludovic Courtès
2007-10-04 19:12   ` Thien-Thi Nguyen
2007-10-04 17:14 ` Clinton Ebadi
2007-10-04 19:09   ` Thien-Thi Nguyen [this message]
2007-10-04 19:21   ` Klaus Schilling
2007-10-04 19:18 ` Klaus Schilling
2007-10-05 23:47 ` Keith Wright
2007-10-06  9:59   ` Thien-Thi Nguyen
2007-10-07  4:05     ` Keith Wright
2007-10-07  9:37       ` Thien-Thi Nguyen
2007-10-07 14:23         ` Ludovic Courtès
2007-10-07 15:15           ` Thien-Thi Nguyen
2007-10-07 17:11             ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hcl6ofwr.fsf@ambire.localdomain \
    --to=ttn@gnuvola.org \
    --cc=clinton@unknownlamer.org \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).