From: Richard J. <ri...@an...> - 2005-09-22 09:20:00
|
On Fri, Sep 09, 2005 at 12:16:21PM +0100, Amit Dubey wrote: > val findi : (int -> 'a -> bool) -> 'a list -> (int * 'a) > (** [findi p e l] returns the first element [ai] of [l] along with its > index [i] such that [p i ai] is true, or raises [Not_found] if no > such element has been found. *) I think it's a great idea. 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 |