packages feed

purescript-0.15.15: tests/purs/failing/FunctorInstance1.out

Error found:
in module [33mFunctorInstance1[0m
at tests/purs/failing/FunctorInstance1.purs:8:1 - 8:29 (line 8, column 1 - line 8, column 29)

  One or more type variables are in positions that prevent [33mFunctor[0m from being derived.
  To derive this class, make sure that these variables are only used as the final arguments to type constructors, that their variance matches the variance of [33mFunctor[0m, and that those type constructors themselves have instances of [33mData.Functor.Functor[0m, [33mData.Bifunctor.Bifunctor[0m, [33mData.Functor.Contravariant.Contravariant[0m, or [33mData.Profunctor.Profunctor[0m.

  tests/purs/failing/FunctorInstance1.purs:
  [90m    6[0m [33m[0m
  [90m    7[0m [33mdata Test a = Test (Predicate [7ma[27m)[0m
  [90m    8[0m [33mderive instance Functor Test[0m


See https://github.com/purescript/documentation/blob/master/errors/CannotDeriveInvalidConstructorArg.md for more information,
or to contribute content related to this error.