Created
November 12, 2014 16:45
-
-
Save LukaHorvat/389c5e9cbfe69d1149b0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 instance for (MonadState | |
(Seq (Maybe [Int]), Set Int) | |
(StateT (Seq Int, Set Int) Data.Functor.Identity.Identity)) | |
arising from a use of `gets' | |
In the second argument of `(<$>)', namely `gets fst' | |
In a stmt of a 'do' block: (x :< xs) <- viewl <$> gets fst | |
In the expression: | |
do { (x :< xs) <- viewl <$> gets fst; | |
modify $ const xs *** id; | |
return x } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment