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 NAA27719; Thu, 8 Apr 2004 13:05:28 +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 NAA27447 for ; Thu, 8 Apr 2004 13:05:27 +0200 (MET DST) Received: from grisu.bik-gmbh.de (grisu.bik-gmbh.de [217.110.154.194]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i38B6Kjq014612 for ; Thu, 8 Apr 2004 13:06:20 +0200 Received: from bik-gmbh.de ([192.168.125.193]) by grisu.bik-gmbh.de (8.12.8p2/8.12.8) with ESMTP id i38B5L1B098028; Thu, 8 Apr 2004 13:05:21 +0200 (CEST) (envelope-from hars@bik-gmbh.de) Message-ID: <407531EC.6070106@bik-gmbh.de> Date: Thu, 08 Apr 2004 13:05:16 +0200 From: Florian Hars User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7b) Gecko/20040316 X-Accept-Language: de, de-de, en-us, en MIME-Version: 1.0 To: Andreas Rossberg CC: caml-list Subject: Re: OCaml's Cathedral & Bazaar (was Re: [Caml-list] Completeness of "Unix" run-time library) References: <20040407230339.76481.qmail@web41212.mail.yahoo.com> <1081412719.19232.914.camel@pelican> <40751CE9.3080503@ps.uni-sb.de> In-Reply-To: <40751CE9.3080503@ps.uni-sb.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-2.6 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MOZILLA_UA,X_ACCEPT_LANG version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-Miltered: at nez-perce by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; florian:01 hars:01 hars:01 bik-gmbh:01 ocaml's:01 caml-list:01 run-time:01 rossberg:01 currying:01 hashtbl:01 hashtbl:01 florian:01 unix:02 wrote:03 library:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk X-Status: X-Keywords: X-UID: 135 Andreas Rossberg wrote: > Ah, here controversy already starts. AFAICS, this is neither an accepted > nor a good principle in a language with currying. For example, there is > good practical reason that map, fold, etc take the container as their > last argument. ;-) Except that the folds in Hashtbl, Map.S and Set.S have the container in the second position (as does List.fold_right). But having both add tbl k v in Hashtbl and add k v tbl in Map.S is evil, indeed. Yours, Florian. ------------------- 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