Browse thread
[Caml-list] Removing an element from a list
-
Vincent Foley
- Paul Steckler
-
YAMAGATA yoriyuki
- Tomasz Zielonka
[
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: | 2002-07-13 (12:53) |
From: | Tomasz Zielonka <zielony@c...> |
Subject: | Re: [Caml-list] Removing an element from a list |
On Sat, Jun 29, 2002 at 05:10:24AM +0900, YAMAGATA yoriyuki wrote: > List.filter (fun e -> e <> 3) [1; 2; 3; 4; 5] Or shorter: List.filter ((<>) 3) [1; 2; 3; 4; 5] ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners