caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* A basic question
@ 2004-12-30  2:47 Kathy Chen
  2004-12-30  3:29 ` [Caml-list] " Sébastien Hinderer
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Kathy Chen @ 2004-12-30  2:47 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-12-31 18:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-30  2:47 A basic question Kathy Chen
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

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).