From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id VAA27676; Fri, 28 Jun 2002 21:39:48 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id VAA27464 for ; Fri, 28 Jun 2002 21:39:47 +0200 (MET DST) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g5SJdkf06074 for ; Fri, 28 Jun 2002 21:39:46 +0200 (MET DST) Received: from vincent ([66.130.50.101]) by relais.videotron.ca (Videotron-Netscape Messaging Server v4.15 MTA-PRD1) with ESMTP id GYFLA900.MGI for ; Fri, 28 Jun 2002 15:39:45 -0400 Received: from vince by vincent with local (Exim 3.35 #1 (Debian)) id 17O1az-0001WF-00 for ; Fri, 28 Jun 2002 15:39:53 -0400 Date: Fri, 28 Jun 2002 15:39:52 -0400 To: OCaml Mailing list Subject: [Caml-list] Removing an element from a list Message-ID: <20020628193952.GA5829@vincent> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i From: Vincent Foley Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, 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? Vince -- Vincent Foley-Bourgon Email: vinfoley@iquebec.com Homepage: http://darkhost.mine.nu:81 ------------------- 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