Is there a way to derive: eq, ord, show, for types that have a phantom type parameter?
For example:
The equals function generated for this type would have a signature ('a -> 'a -> bool) -> 'a t -> 'a t -> bool, is there a way remove the first argument and generate just 'a t -> 'a t -> bool? The passed comparison function will never be used inside anyways.