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 PAA05513; Thu, 8 Apr 2004 15:43:45 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 PAA05505 for ; Thu, 8 Apr 2004 15:43:44 +0200 (MET DST) Received: from kurims.kurims.kyoto-u.ac.jp (kurims.kurims.kyoto-u.ac.jp [130.54.16.1]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i38DhfYM017462 for ; Thu, 8 Apr 2004 15:43:43 +0200 Received: from localhost (suiren.kurims.kyoto-u.ac.jp [130.54.16.25]) by kurims.kurims.kyoto-u.ac.jp (8.9.3p2-20030924/3.7W) with ESMTP id WAA26660; Thu, 8 Apr 2004 22:39:50 +0900 (JST) To: rossberg@ps.uni-sb.de Cc: caml-list@inria.fr Subject: Re: OCaml's Cathedral & Bazaar (was Re: [Caml-list] Completeness of "Unix" run-time library) In-Reply-To: <40753822.2050907@ps.uni-sb.de> References: <40751CE9.3080503@ps.uni-sb.de> <407531EC.6070106@bik-gmbh.de> <40753822.2050907@ps.uni-sb.de> X-Mailer: Mew version 1.94.2 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20040408223950O.garrigue@kurims.kyoto-u.ac.jp> Date: Thu, 08 Apr 2004 22:39:50 +0900 From: Jacques Garrigue X-Dispatcher: imput version 20000228(IM140) X-Miltered: at concorde by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; ocaml's:01 caml-list:01 run-time:01 jacques:01 rossberg:01 rossberg:01 uni-sb:01 hashtbl:01 morelabels:01 unlabelled:01 jacques:01 garrigue:01 garrigue:01 labels:01 unix:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk X-Keywords: X-UID: 139 From: Andreas Rossberg > >> 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). > > Which I consider a design error indeed. :-) open MoreLabels (Sorry, but sometimes I want to remind people that parameter order is not really relevant) To be precise with labels you have: * the container is the first unlabelled argument * it can be in the last position simultaneously Jacques Garrigue ------------------- 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