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] Multi-keyed lookup table?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-08-10 (22:16)
From: Shawn Wagner <shawnw@s...>
Subject: Re: [Caml-list] Array.filter (was Multi-keyed lookup table?)
On Sat, Aug 09, 2003 at 11:48:51AM -0700, wrote:
> On Sat, Aug 09, 2003 at 10:57:20AM -0600, Matt Gushee wrote:
> > 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.
> It might help to create a file ( with your favorite additions 
> and modifications to the standard library.  Then you can open Mods
> in any files where the modifications are needed.

Shameless plug:

I have a library that's little more than this. Simple, basic things missing
from the standard libraries that I keep running across a need for. Other
people no doubt do the same, as there is a lot missing from the standard
library (Even such fundamental things as searching for a substring a la C's

Shawn Wagner

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