From: Amit D. <ami...@gm...> - 2005-11-24 14:16:31
|
Hi, Array.for_all Array.exists Array.mem Array.memq Array.assoc etc. These seem like nice additions. Array.sort This already exists. Array.find Will this return the element or an index? Array.filter Array.find_all Array.partition Would these return lists or arrays? -Amit On 11/24/05, Richard Jones <ri...@an...> wrote: > > > Does anyone have any opinions on whether we should have ExtArray, > analogous to ExtList and ExtString? > > Particular functions which are missing from standard Array but which > would be useful are: > > Now you can argue that I'm using the wrong data structure and I should > be using a list, but I have my reasons for using an array and having > to convert it to a list just to do a quick "for_all" seems a bit > silly. > > Rich. > > -- > Richard Jones, CTO Merjis Ltd. > Merjis - web marketing and technology - http://merjis.com > Team Notepad - intranets and extranets for business - > http://team-notepad.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick > _______________________________________________ > ocaml-lib-devel mailing list > oca...@li... > https://lists.sourceforge.net/lists/listinfo/ocaml-lib-devel > |