From: Kathy Chen <kathy08@gmail.com>
To: caml-list@yquem.inria.fr
Subject: A basic question
Date: Wed, 29 Dec 2004 19:47:36 -0700 [thread overview]
Message-ID: <2145c6e80412291847c40fc92@mail.gmail.com> (raw)
Hi, all,
I'm a newcomer here.
I don't understand why the following two
let [x;y;z] = [1;2;3] ;;
and
let [x;y;z] = [1;2;3;4] ;;
have warnings: "this pattern-matching is not exhaustive".
I think they just setting values for x, y, and z.
Could anyone pls tell me why?
Thanks.
Kathy
next reply other threads:[~2004-12-30 2:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-30 2:47 Kathy Chen [this message]
2004-12-30 3:29 ` [Caml-list] " Sébastien Hinderer
2004-12-30 3:38 ` skaller
2004-12-30 10:28 ` Luc Maranget
2004-12-31 18:40 ` Kathy Chen
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=2145c6e80412291847c40fc92@mail.gmail.com \
--to=kathy08@gmail.com \
--cc=caml-list@yquem.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