[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Rolf Wester <rolf.wester@i...> |
| Subject: | [Caml-list] Warning: this match case is unused. |
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