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 SAA21710; Sat, 9 Aug 2003 18:57:35 +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 SAA20264 for ; Sat, 9 Aug 2003 18:57:33 +0200 (MET DST) Received: from mz2.forethought.net (mzpi4.forethought.net [216.241.36.13]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h79GvWT08960 for ; Sat, 9 Aug 2003 18:57:33 +0200 (MET DST) Received: from [216.241.35.41] (helo=swordfish) by mz2.forethought.net with esmtp (Exim 4.14) id 19lX23-0007RT-L8 for caml-list@pauillac.inria.fr; Sat, 09 Aug 2003 10:57:31 -0600 Received: from matt by swordfish with local (Exim 3.35 #1 (Debian)) id 19lX1x-00073o-00 for ; Sat, 09 Aug 2003 10:57:25 -0600 Date: Sat, 9 Aug 2003 10:57:20 -0600 From: Matt Gushee To: caml-list@pauillac.inria.fr Subject: Re: [Caml-list] Array.filter (was Multi-keyed lookup table?) Message-ID: <20030809165720.GE21525@swordfish> Reply-To: Matt Gushee Mail-Followup-To: caml-list@pauillac.inria.fr References: <38641.141.155.88.179.1060292970.squirrel@minsky-primus.homeip.net> <3F32D210.6060302@ozemail.com.au> <20030807194135.GB21983@swordfish> <38641.141.155.88.179.1060292970.squirrel@minsky-primus.homeip.net> <20030807194135.GB21983@swordfish> <20030808213037.GA21525@swordfish> <005d01c35e51$7c927200$6628f9c1@zofo> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <005d01c35e51$7c927200$6628f9c1@zofo> User-Agent: Mutt/1.3.27i X-Loop: caml-list@inria.fr X-Spam: no; 0.00; gushee:01 caml-list:01 implemented:01 apis:01 englewood:01 manure:01 mgushee:01 havenrock:01 ignores:01 --lao:01 merel:01 arrays:01 0200,:01 readable:01 modules:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Sat, Aug 09, 2003 at 10:36:06AM +0200, Jean-Baptiste Rouquier wrote: > >BTW, why isn't there an Array.filter function? > There is a lot of such general purpose functions that one would like to have > already implemented. But having all of these in the standard library would > make it less readable. Sure. I just thought that lists and arrays are rather similar data structures, and to the extent that they are similar, their respective modules should have similar APIs. -- Matt Gushee When a nation follows the Way, Englewood, Colorado, USA Horses bear manure through mgushee@havenrock.com its fields; http://www.havenrock.com/ When a nation ignores the Way, Horses bear soldiers through its streets. --Lao Tzu (Peter Merel, trans.) ------------------- 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