From: Neil Jerram <neil@ossau.uklinux.net>
Cc: Guile User List <guile-user@gnu.org>
Subject: Re: Using a macro with FOLD alters FOLD procedure!
Date: Thu, 21 Apr 2005 07:35:25 +0100 [thread overview]
Message-ID: <426749AD.3090403@ossau.uklinux.net> (raw)
In-Reply-To: <87r7h8q5dl.fsf@trouble.defaultvalue.org>
Rob Browning wrote:
> Neil Jerram <neil@ossau.uklinux.net> writes:
>
>
>>FWIW, I agree. In 1.7.x I believe we have more of the infrastructure
>>in place to get this right - by which I mean to signal an error if a
>>macro is passed in this way. But (having just tried your tests out on
>>1.7.x) it's not doing this just yet.
>
>
> I haven't considered it carefully yet, but if fold's only supposed to
> take a procedure for kons, then why not just add a check-arg-type
> procedure? call for kons?
>
We could certainly do this, but I think I remember a thread where it was
suggested that we treat any occurrence of a macro in non-car position as
an error - which would catch the problem more generally. Am I
completely imagining this?
Neil
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
next prev parent reply other threads:[~2005-04-21 6:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-15 18:38 Using a macro with FOLD alters FOLD procedure! Steve Juranich
2005-04-15 19:50 ` Stephen Compall
2005-04-15 22:20 ` Steve Juranich
2005-04-16 11:46 ` Neil Jerram
2005-04-18 0:45 ` Rob Browning
2005-04-21 6:35 ` Neil Jerram [this message]
2005-04-21 22:16 ` Kevin Ryde
2005-04-22 8:27 ` Andy Wingo
2005-04-23 20:18 ` Neil Jerram
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=426749AD.3090403@ossau.uklinux.net \
--to=neil@ossau.uklinux.net \
--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).