Type-variable constraint violation
! :: () -> f String
^^^^^^^^
1
1) 8 :: Number
Since there is no type of which all the above values are members, the type-variable constraint has been violated.
Correct error message (after):
Invalid value
! :: () -> f String
^^^^^^^^
1
1) 8 :: Number
The value at position 1 is not a member of ‘f String’.
:warning: The fix requires changing predicates from Any -> Boolean to Array Type -> Any -> Boolean.
Commit message:
:warning: The fix requires changing predicates fromAny -> Boolean
toArray Type -> Any -> Boolean
.