For example, this is a declaration with deriving :
{-
from:
Illegal deriving item 'Constraints'
Which makes sense considering http://downloads.haskell.org/~ghc/7.8.3/docs/html/users_guide/deriving.html
I write deriving (Show, Eq, Ord, Data, Typeable) for most of my types. It might be nice to export standard "restriction aliases", i.e. Any type of view * -> Constraint . Of course, given that the constraints in the root of the constraints are the correct arity, they have an empty "minimum complete definition", etc.
Are there any suggestions on this? How hard is that? Are there any alternatives?
source share