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 OAA04956; Fri, 21 Feb 2003 14:08:00 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA04680 for caml-list@pauillac.inria.fr; Fri, 21 Feb 2003 14:08:00 +0100 (MET) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA08594 for ; Thu, 20 Feb 2003 17:55:04 +0100 (MET) Received: from cantina.ipv6.students.cs.unibo.it (cantina.students.cs.unibo.it [130.136.3.110]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h1KGt3T14968 for ; Thu, 20 Feb 2003 17:55:03 +0100 (MET) Received: from lordsoth.takhisis.org ([130.136.32.244]) by cantina.ipv6.students.cs.unibo.it (8.12.6/8.12.6/Debian-6Woody) with ESMTP id h1KGspi9021033 for ; Thu, 20 Feb 2003 17:54:52 +0100 Received: by lordsoth.takhisis.org (Postfix, from userid 3148) id CE4287074; Thu, 20 Feb 2003 17:54:48 +0100 (CET) Date: Thu, 20 Feb 2003 17:54:48 +0100 From: Stefano Zacchiroli To: caml-list@inria.fr Subject: [Caml-list] OCaml standard library improvement Message-ID: <20030220165448.GD5717@lordsoth.takhisis.org> Mail-Followup-To: caml-list@inria.fr References: <20030218180341.GA267@first.in-berlin.de> <20030220104343.B27056@pauillac.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030220104343.B27056@pauillac.inria.fr> User-Agent: Mutt/1.5.3i Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Thu, Feb 20, 2003 at 10:43:43AM +0100, Xavier Leroy wrote: > There would be disagreement as what the return type of these functions > should be: lists, sets, etc. But you can easily write them with > Hashtbl.fold. Yes, the ocaml standard library is full (i.e. empty) of a lot of functions that could be written easily in 1 or 2 lines of ocaml code. The same functions are the same that you find yourself rewriting in all the applications you are writing (or linking an "helper" module written once for all), this is really frustrating and I think make OCaml standard library less appealing than other languages standard libraries. I'm collecting from time to time a set of functions that can be easily added to the standard library to fill this gap. Probably a lot of other OCaml programmers are doing the same. Is there any chance to see this functions in the standard library? Better stated: if we, ocaml programmer, collect a set of functions that are widely felt to be missing, could the OCaml team review the corresponding implementation and add them to the ocaml standard library in the next ocaml release? Thanks for your attention, Cheers. -- Stefano Zacchiroli - Undergraduate Student of CS @ Uni. Bologna, Italy zack@{cs.unibo.it,debian.org,bononia.it} - http://www.bononia.it/zack/ " I know you believe you understood what you think I said, but I am not sure you realize that what you heard is not what I meant! " -- G.Romney ------------------- 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