trouble with state monad composition
- by user1308560
I was trying out the example given at http://www.haskell.org/haskellwiki/State_Monad#Complete_and_Concrete_Example_1
How this makes the solution composible is beyond my understanding. Here is what I tried but I get compile errors as follows:
Couldn't match expected type `GameValue -> StateT GameState Data.Functor.Identity.Identity b0'
…