[Haskell-beginners] case in monadic function

Daniel Schoepe asgaroth_ at gmx.de
Fri Jan 23 11:00:43 EST 2009


Daniel Schoepe wrote:

> You can use liftM/fmap to lift a function into a monad:
> case (checkPredName pn . snd) `fmap` get of ...

I'm sorry, I misunderstood the problem, so this suggestion wouldn't work
either. Could you give some more information on what SemanticResult is?



More information about the Beginners mailing list