Personal tools

Orphan instance

From HaskellWiki

Revision as of 21:33, 23 December 2008 by Lemming (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

1 Question

What is an Orphan instance and why is it bad?

2 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.

3 See also