Correction: misplaced "struct" keyword. On Thu, Jun 23, 2011 at 5:43 PM, Radu Grigore <[email protected]> wrote: > However, if the definition of Int is moved inside Util then the > type-checker complaints that Util.IntSet.t and U.IntSet.t are > incompatible. module Util = struct module Int = struct type t = int let compare = compare end module IntSet = Set.Make (Int) end let a = Util.IntSet.singleton 0 module U = Util let b = U.IntSet.mem 0 a
-- Caml-list mailing list. Subscription management and archives: https://sympa-roc.inria.fr/wws/info/caml-list Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports: http://caml.inria.fr/bin/caml-bugs
