caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: David Teller <David.Teller@univ-orleans.fr>
To: Till Varoquaux <till.varoquaux@gmail.com>
Cc: OCaml <caml-list@inria.fr>
Subject: Re: [Caml-list] "Warning U: this match case is unused." -- Yes, I know
Date: Wed, 27 Feb 2008 22:56:20 +0100	[thread overview]
Message-ID: <1204149380.7005.30.camel@Blefuscu> (raw)
In-Reply-To: <9d3ec8300802271348u62892bbdva98f880c9cb8ddc9@mail.gmail.com>

Thanks, but to the best of my knowledge, irrefutable patterns and
Match_failure / Warning U are vaguely related at best. The first one is
part of the syntax while the second one depends on type definitions.

Cheers,
 David

On Wed, 2008-02-27 at 21:48 +0000, Till Varoquaux wrote:
> There is a function in camlp4 that checks for this:
> Ast.is_irrefut_patt
> Check that you have a recent ocaml. It used to be bugged (it was fixed
> in mid september).
> 
> Cheers

-- 
David Teller
 Security of Distributed Systems
  http://www.univ-orleans.fr/lifo/Members/David.Teller
 Angry researcher: French Universities need reforms, but the LRU act
brings liquidations. 


  reply	other threads:[~2008-02-27 21:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-27 21:32 David Teller
2008-02-27 21:48 ` [Caml-list] " Till Varoquaux
2008-02-27 21:56   ` David Teller [this message]
2008-02-27 22:09 ` Edgar Friendly
2008-02-27 22:21   ` David Teller
2008-02-27 22:30     ` Edgar Friendly

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=1204149380.7005.30.camel@Blefuscu \
    --to=david.teller@univ-orleans.fr \
    --cc=caml-list@inria.fr \
    --cc=till.varoquaux@gmail.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;
as well as URLs for NNTP newsgroup(s).