Hello Emmanuel,And I tried to apply it to the haskell fay compiler, but failed:
http://stackoverflow.com/questions/18667530/dont-understand-this-liftm2-behaviour-in-fayNot sure whether it's a fay bug or something about the fay monad or liftM2 which i don't understand.
The point of lifting is, that you lift an operation into an other "context", sothat the operation itself hasn't to operate in the same "context".I can't see how even your GHC version of 'operation' should work,because in both cases it should be something like:liftM2 (++) getValue1 getValue2or in applicative style(++) <$> getValue1 <*> getValue2Greetings,Daniel
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners