Orphan instance
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Question
What is an Orphan instance and why is it bad?
Answer
An orphan instance is a type class instance for class C and type T which is neither defined in the module where C is defined nor in the module where T is defined.
See also
- Libraries mailing list on ``Orphan instances can be good