Closed
Description
We keep talking about this but don't seem to have an issue for it. I'm quite an enthusiastic proponent of disallowing them and not providing an escape hatch either.
Worth discussing too perhaps, what counts as an orphan in the presence of multi-parameter typeclasses? I guess for an instance to not be an orphan it must satisfy either:
- The instance is declared in the same module as its class.
- At least one of the types appearing in the instance head is declared in the current module.