unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Lynn Winebarger <owinebar@free-expression.org>
Cc: guile-devel@gnu.org
Subject: Re: define and modules
Date: Wed, 6 Nov 2002 12:51:35 -0500	[thread overview]
Message-ID: <0211061251351I.07034@locke.free-expression.org> (raw)
In-Reply-To: <Pine.GSO.4.05.10211061813540.16088-100000@sallust.ida.ing.tu-bs.de>

On Wednesday 06 November 2002 12:20, Dirk Herrmann wrote:
> On Wed, 6 Nov 2002, Lynn Winebarger wrote:
> > > > > (define define-private define)
> >     "Syntax error:  invalid use of define" or "Syntax error: invalid define form"?
> 
> I think this is not general enough.  It works for the special case of
> define, but the point is not, that the define form is broken, but that a
> macro is used as an argument to something else.
     You mistake which 'define the error refers to I think.  It refers to
the 2nd appearance of 'define, not the first;  `form' refers to
the bare identifier.  Because macro expansion should occur _before_
the evaluation of the arguments of the outer define.
      In other words: You're right that it shouldn't be detected as 
special case of the outer define failing, but rather as one of the 
macro expansion failing.

Lynn


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


  reply	other threads:[~2002-11-06 17:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-20 16:17 define and modules Dirk Herrmann
2002-11-03 16:25 ` Marius Vollmer
2002-11-04 21:32   ` Dirk Herrmann
2002-11-04 22:12     ` Marius Vollmer
2002-11-06  6:54       ` Dirk Herrmann
2002-11-06  7:16         ` Lynn Winebarger
2002-11-06 17:20           ` Dirk Herrmann
2002-11-06 17:51             ` Lynn Winebarger [this message]
2002-11-06 22:27         ` Dirk Herrmann
2002-11-17 20:30         ` Marius Vollmer

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=0211061251351I.07034@locke.free-expression.org \
    --to=owinebar@free-expression.org \
    --cc=guile-devel@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).