[Haskell-beginners] Defining an Instance of Ord

Imants Cekusins imantc at gmail.com
Fri Jun 26 15:04:18 UTC 2015


> What about using new type and sort the pair before comparing?
> sort the values in the pairs and then apply compare between them

now I see what Petr meant.

Thank you


More information about the Beginners mailing list