Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: James Hague <jhague@dadgum.com>
To: caml-list@inria.fr
Subject: Sort module musings
Date: Wed, 24 Mar 1999 10:29:13 -0600 (EST)	[thread overview]
Message-ID: <Pine.LNX.3.96.990324101502.12739A-100000@babba.advancenet.net> (raw)

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




             reply	other threads:[~1999-03-25 13:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-24 16:29 James Hague [this message]
1999-03-29 16:33 ` Xavier Leroy
1999-03-29 20:30   ` Sys.command in Windows NT Stephanie Weirich
1999-03-30 15:37     ` Xavier Leroy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.3.96.990324101502.12739A-100000@babba.advancenet.net \
    --to=jhague@dadgum.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox