Orphan instance

From HaskellWiki
Revision as of 21:33, 23 December 2008 by Lemming (talk | contribs) (short introduction)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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