caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Rolf Wester" <rolf.wester@ilt.fhg.de>
To: caml-list@inria.fr
Subject: [Caml-list] Warning: this match case is unused.
Date: Thu, 8 Nov 2001 16:55:29 +0200	[thread overview]
Message-ID: <3BEAB901.19333.21ACF8D8@localhost> (raw)

Hi,

this is probably a trivial question but can someone tell me why:
 
let f l n0 =
  let n = List.length l in
  match n with 
	  n0 -> 1;
	| _  ->  0;;

Results in:
Warning: this match case is unused.

Thanks

Rolf Wester

-------------------------------------
Rolf Wester
rolf.wester@ilt.fraunhofer.de
-------------------
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


             reply	other threads:[~2001-11-08 15:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-08 14:55 Rolf Wester [this message]
2001-11-08 16:14 ` Pixel
2001-11-08 16:21 ` Yann Coscoy
2001-11-08 16:29 Krishnaswami, Neel
2001-11-09  6:39 Rolf Wester

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=3BEAB901.19333.21ACF8D8@localhost \
    --to=rolf.wester@ilt.fhg.de \
    --cc=caml-list@inria.fr \
    /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).