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, search

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