From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA02826 for caml-redistribution; Thu, 25 Mar 1999 14:07:52 +0100 (MET) 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 RAA32702 for ; Wed, 24 Mar 1999 17:29:43 +0100 (MET) Received: from babba.advancenet.net (babba.advancenet.net [205.198.248.21]) by nez-perce.inria.fr (8.8.7/8.8.7) with ESMTP id RAA18655 for ; Wed, 24 Mar 1999 17:29:40 +0100 (MET) Received: from localhost (jhague@localhost) by babba.advancenet.net (8.9.3/8.9.3) with SMTP id KAA14564 for ; Wed, 24 Mar 1999 10:29:13 -0600 X-Authentication-Warning: babba.advancenet.net: jhague owned process doing -bs Date: Wed, 24 Mar 1999 10:29:13 -0600 (EST) From: James Hague X-Sender: jhague@babba.advancenet.net To: caml-list@inria.fr Subject: Sort module musings Message-ID: x-no-archive: yes MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: weis Does anyone else find that the Sort module to be in logical conflict with the Array and List modules? Both the Array and List modules contain "map", "fold_left", and "fold_right", but there isn't a separate Map module (for example, you use List.map instead of Map.list). Following this pattern, Sort.list should be List.sort and Sort.array should be Array.sort. I expect that this has come up before, and there is a good justification for the Sort module, but I thought I would mention it from a new OCaml user's perspective just in case. James Hague