[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2004-12-11 (01:30) |
From: | Jon Harrop <jon@j...> |
Subject: | Re: [Caml-list] How to use Set Datatype |
On Friday 10 December 2004 19:44, Micha wrote: > module StringSet = Set.Make (struct type t = string let compare = compare > end);; As the "String" module implements both a type "t" and a "compare" function, you can just write: # module StringSet = Set.Make(String);; ... Cheers, Jon.