Version française
Home     About     Download     Resources     Contact us    
Browse thread
RE: [Caml-list] Basic question about modules
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Kenneth Knowles <kknowles@b...>
Subject: Re: [Caml-list] Basic question about modules
> Do I actually have to duplicate the above signature for the StringMap
> as shown above in my own mli file (and other similar types).
> This seems pretty heavy handed.

No, as I said you can do this (I just looked it up, but haven't tested):

module StringMap : Map.S with type key = string

Kenn

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners