Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Removing an element from a list
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Paul Steckler <steck@c...>
Subject: RE: [Caml-list] Removing an element from a list
> I would like to know how to remove an element from a list.  For
> example,
> I would like to remove 3 in this list: [1; 2; 3; 4; 5].  How would I
> do
> it?

How you'd do it depends *why* you want to remove it.  Because it is a 3,
or because it's the third element in the list, or some other reason?

-- Paul

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: