Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: OCaml's Cathedral & Bazaar (was Re: [Caml-list] Completeness of "Unix" run-time library)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Florian Hars <hars@b...>
Subject: Re: OCaml's Cathedral & Bazaar (was Re: [Caml-list] Completeness of "Unix" run-time library)
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