On 3 avr, 11:49, Jon Harrop <[EMAIL PROTECTED]> wrote:

> To use a different comparison for an existing type, you just create a subtype 
> and override the comparison method.

So then I need inject/project functions for this new type or explicit
type anotations to make it use the right equality ?

Daniel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ocaml-developer" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/ocaml-developer?hl=en
For other OCaml forums, see http://caml.inria.fr/resources/forums.en.html
-~----------~----~----~----~------~----~------~--~---

Reply via email to