From: Luc Maranget <luc.maranget@inria.fr>
To: maf@microsoft.com (Manuel Fahndrich)
Cc: luc.maranget@inria.fr (Luc Maranget),
pixel@mandrakesoft.com (Pixel),
caml-list@pauillac.inria.fr
Subject: Re: [Caml-list] "Or" patterns when both matchings
Date: Wed, 31 Oct 2001 10:42:54 +0100 (MET) [thread overview]
Message-ID: <200110310942.KAA0000010743@beaune.inria.fr> (raw)
In-Reply-To: <BEC4845020047048A9A8616BCFFCA9040238AE57@red-msg-04.redmond.corp.microsoft.com> from "Manuel Fahndrich" at oct 30, 2001 10:22:28
>
> Hmm, I must side with Pixel here. Ease of compilation is rarely a good
> design principle for a programming language. The use of or patterns
> allows one to factor right hand sides as in the example shown below:
>
> | Foo(a)
> | a -> <complicated expression involving a>
>
> If Or-patterns do not follow the first-to-last matching order, then
> producing correct code and reading it becomes more difficult. I wasn't
> aware of the Or-compilation strategy and I'm sure I made this mistake in
> the past as well.
>
> -Maf
>
>
You are right, I missed that point. I'll think about correcting that,
but it is not a trivial change.
Thanks for your feedback,
--Luc
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
next prev parent reply other threads:[~2001-10-31 9:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-30 18:22 Manuel Fahndrich
2001-10-31 9:42 ` Luc Maranget [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-10-28 11:02 Pixel
2001-10-29 10:37 ` Luc Maranget
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200110310942.KAA0000010743@beaune.inria.fr \
--to=luc.maranget@inria.fr \
--cc=caml-list@pauillac.inria.fr \
--cc=maf@microsoft.com \
--cc=pixel@mandrakesoft.com \
/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