User contributions
From HaskellWiki
(Latest | Earliest) View (newer 50) (older 50) (20 | 50 | 100 | 250 | 500)
- 02:01, 23 August 2012 (hist) (diff) Solution4.html (New page: <haskell> parent :: MonadPlus m => Sheep -> m Sheep parent s = (toMonad (father s)) `mplus` (toMonad (mother s)) grandparent :: MonadPlus m => Sheep -> m Sheep grandparent s = (toMonad (p...)
- 16:51, 22 August 2012 (hist) (diff) Solution3.html (New page: <haskell> parent :: Sheep -> [Sheep] parent s = (maybeToList (mother s)) ++ (maybeToList (father s)) grandparent :: Sheep -> [Sheep] grandparent s = (maybeToList (paternalGrandfather s)) ...)
- 16:41, 22 August 2012 (hist) (diff) Solution2.html (New page: <haskell> parent :: Sheep -> Maybe Sheep parent s = father s `mplus` mother s grandparent :: Sheep -> Maybe Sheep grandparent s = paternalGrandfather s `mplus` paternalGr...)
(Latest | Earliest) View (newer 50) (older 50) (20 | 50 | 100 | 250 | 500)
