[
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: | -- (:) |
| From: | Benoit de Boursetty <debourse@e...> |
| Subject: | Re: Deriving a polymorphic mapping module |
Hi, On Thu, 9 Dec 1999, Mike Spivey wrote: > Given the functor-based Map module in the standard library of OCaml, > is there any way of defining polymorphic mappings, like the old module > provided with Caml Light, that has a polymorphic interface and always > uses the polymorphic compare function? If not, then this seems to me > to be a weakness in the module system. The same problem has already occured for me, with the Set module. A change of typing resolves the problem. You can find solutions for Set and Map at http://www.stud.enst.fr/~debourse/caml.html Benoit de Boursetty.