This does not work on GHC 7.8.2. It gives the error Expected a constraint, but 'IFunctor f' has kind '*' .
There was an error in older versions of GHC in which they allowed the use of => as -> in certain situations. This is probably due to the fact that the internal restrictions of the class of the class are passed as arguments in the form of method dictionaries.
source share