Guest User

Untitled

a guest
May 8th, 2012
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. test :: Monad m => [a -> m Bool] -> a -> m Bool
  2. test [] x = Just True
  3. test (t:ts) x = if (t x) == (Just True)
  4.                   then test ts x
  5.                   else Just False
Advertisement
Add Comment
Please, Sign In to add comment