How does IncoherentInstances work?
Well this is quite complicated. Lets start with the ambiguous error: <interactive>:1:1: Ambiguous type variable `b0′ in the constraint: (Arity b0) arising from a use of `arity’ Probable fix: add a type signature that fixes these type variable(s) In the expression: arity foldr In an equation for `it’: it = arity foldr Normally, without overlapping … Read more