caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] "subclassing" a char map
@ 2013-09-15 22:29 Martin DeMello
  2013-09-16  4:20 ` Ivan Gotovchits
  0 siblings, 1 reply; 6+ messages in thread
From: Martin DeMello @ 2013-09-15 22:29 UTC (permalink / raw)
  To: caml-list

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-09-17  8:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-15 22:29 [Caml-list] "subclassing" a char map Martin DeMello
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

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).