daily pastebin goal
2%
SHARE
TWEET

Untitled

a guest Dec 18th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. instance Monad Parser where
  2.     return x = Parser (\s -> [(x,s)])
  3.     m >>= k = Parser (\s -> [(y,u) | (x,t) <- apply m s, (y, u) <- apply (k x) t])
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top