From: "Marijn Schouten (hkBst)" <hkBst@gentoo.org>
To: "Marijn Schouten (hkBst)" <hkBst@gentoo.org>, bug-guile@gnu.org
Subject: Re: (case ...)
Date: Wed, 23 May 2007 13:07:06 +0200 [thread overview]
Message-ID: <4654205A.2070304@gentoo.org> (raw)
In-Reply-To: <87irak9e78.fsf@laas.fr>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ludovic � wrote:
> Hi,
>
> "Marijn Schouten (hkBst)" <hkBst@gentoo.org> writes:
>
>> define (num->bool i)
>> (case i
>> ('0 #f)
>> ('1 #t)))
>
> Is this valid R5RS code? I would say no since it is neither a <clause>
> nor an "else clause".
>
> (Your next message seems to imply that it is indeed incorrect.)
>
> Thanks,
> Ludovic.
The datums of the clauses are "(quote 0)" and "(quote 1)", each of which is
valid on its own, but since the datum "quote" is contained in both clauses,
the two of them together are invalid,
Marijn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGVCBZp/VmCx0OL2wRAsoeAKCgvV9jdptLh52DN2mx5R87zlFAfACgsAeT
x6GKuMKg3h33zajP5aWcPiM=
=ectF
-----END PGP SIGNATURE-----
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile
next prev parent reply other threads:[~2007-05-23 11:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-22 17:04 (case ...) Marijn Schouten (hkBst)
2007-05-22 17:54 ` Marijn Schouten (hkBst)
2007-05-23 7:44 ` Ludovic Courtès
2007-05-23 11:07 ` Marijn Schouten (hkBst) [this message]
2007-05-23 11:40 ` 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=4654205A.2070304@gentoo.org \
--to=hkbst@gentoo.org \
--cc=bug-guile@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).