Created
December 10, 2016 05:10
-
-
Save srid/6cdcee6a785979e3d53dd56ba439a273 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
No type class instance was found for | |
App.TurnAnimation.Transform t0 | |
turn1 | |
The instance head contains unknown type variables. Consider adding a type annotation. | |
while checking that expression \state -> | |
{ state: state | |
, effects: [ ... | |
] | |
} | |
has type forall model turn eff. | |
(Transform model turn) => { current :: model | |
, lastTurn :: Maybe turn | |
, remainingTurns :: List turn | |
} | |
-> { state :: { current :: model | |
, lastTurn :: Maybe turn | |
, remainingTurns :: List turn | |
} | |
, effects :: Array | |
(Aff | |
( channel :: CHANNEL | |
, err :: EXCEPTION | |
| eff | |
) | |
Action | |
) | |
} | |
while applying a function later' | |
of type forall e a. Int -> Aff e a -> Aff e a | |
to argument delay (state.lastTurn) | |
in value declaration withAnimateEffect | |
where turn1 is a rigid type variable | |
bound at line 37, column 1 - line 40, column 4 | |
t0 is an unknown type |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment