Normally they shouldn't, although it's impossible to check in general. If you don't have orphan instances, you'll be alright.

And if you do define conflicting instances, then yes, you can have very strange results. Conflicting Ord instances, for example, lead to Set containing the same element multiple times.

04.02.2016, 13:25, "Imants Cekusins" <imantc@gmail.com>:
 Two modules defining different instances for the same class and type can't be used together.


it is possible to define conflicting instances for the same class/type
in modules that don't import one another - without strange results,
isn't it?

or conflicting instances must not exist within the same app, including libs?
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-caf…