Why is it that I can do the following:
import Data.Word
import Data.Binary.Get
import Control.Applicative
import Control.Monad.Error
getW1 :: ErrorT String Get Word8
getW1 = lift getWord8
f1 = (+1) <$> getW1
but I cannot do:
f2 = (+) <$> getW1 <*> getW1
and how I do I modify f2 so that it will work as I intend?