
23 Jan
2009
23 Jan
'09
11:04 a.m.
Daniel Schoepe wrote:
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?
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
It looks like this: data SemanticResult = Ok | Error String;