Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- both :: (Monad m) => m a -> m b -> m (a, b)
- both ma mb = do
- a <- ma
- b <- mb
- return (a, b)
Advertisement