JoelSjogren

Untitled

Sep 5th, 2017
5,609
0
Never
3
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. both :: (Monad m) => m a -> m b -> m (a, b)
  2. both ma mb = do
  3.   a <- ma
  4.   b <- mb
  5.   return (a, b)
Advertisement