caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Martin DeMello <martindemello@gmail.com>
To: "caml-list@inria.fr" <caml-list@inria.fr>
Subject: [Caml-list] "subclassing" a char map
Date: Sun, 15 Sep 2013 15:29:25 -0700	[thread overview]
Message-ID: <CAFrFfuHwyDw1u41bnWnZNzUATRn+5inB1h8udW09sDVH134Wjg@mail.gmail.com> (raw)

I have a char multiset defined via

module MultiSet = Map.Make(struct type t = char let compare = compare end)

Now I would like to split off a distinct type that can only contain
A-Z as keys. What's the best way to do this?

martin

             reply	other threads:[~2013-09-15 22:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-15 22:29 Martin DeMello [this message]
2013-09-16  4:20 ` Ivan Gotovchits
2013-09-16  4:31   ` Martin DeMello
2013-09-16  7:42     ` Goswin von Brederlow
2013-09-16 21:09       ` Martin DeMello
2013-09-17  8:13     ` oleg

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=CAFrFfuHwyDw1u41bnWnZNzUATRn+5inB1h8udW09sDVH134Wjg@mail.gmail.com \
    --to=martindemello@gmail.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;
as well as URLs for NNTP newsgroup(s).