
1 May
2009
1 May
'09
6:40 a.m.
Thank you.
I assumed when I saw this:
"we could use Maybe's
mplus to define a function,
parent s = (mother s) `mplus` (father s)"
that mplus was *already* present in Maybe.
Michael
--- On Fri, 5/1/09, Neil Mitchell
But I get this when I try to use it:
sheep.hs:30:22: Not in scope: `mplus' [michael@localhost ~]$
You need to import Control.Monad. You can find answers to these sorts of questions with Hoogle: http://haskell.org/hoogle/?hoogle=mplus Thanks Neil
5863
Age (days ago)
5863
Last active (days ago)
0 comments
1 participants
participants (1)
-
michael rice