lambda-calculus-interpreter-0.1.0.3: Lambda Calculus interpreter
Parser
data Parser s m a Source #
Constructors
Fields
Defined in Parser
Methods
(>>=) :: Parser s m a -> (a -> Parser s m b) -> Parser s m b #
(>>) :: Parser s m a -> Parser s m b -> Parser s m b #
return :: a -> Parser s m a #
fail :: String -> Parser s m a #
fmap :: (a -> b) -> Parser s m a -> Parser s m b #
(<$) :: a -> Parser s m b -> Parser s m a #
pure :: a -> Parser s m a #
(<*>) :: Parser s m (a -> b) -> Parser s m a -> Parser s m b #
liftA2 :: (a -> b -> c) -> Parser s m a -> Parser s m b -> Parser s m c #
(*>) :: Parser s m a -> Parser s m b -> Parser s m b #
(<*) :: Parser s m a -> Parser s m b -> Parser s m a #
empty :: Parser s m a #
(<|>) :: Parser s m a -> Parser s m a -> Parser s m a #
some :: Parser s m a -> Parser s m [a] #
many :: Parser s m a -> Parser s m [a] #
item :: Alternative m => Parser String m Char Source #
satisfy :: (Alternative m, Monad m) => (Char -> Bool) -> Parser String m Char Source #
char :: (Alternative m, Monad m) => Char -> Parser String m Char Source #
lit :: (Alternative m, Monad m) => Parser String m Expr Source #
identifier :: (Alternative m, Monad m) => Parser String m Identifier Source #
term :: (Alternative m, Monad m) => Parser String m Expr Source #
lambda :: (Alternative m, Monad m) => Parser String m Expr Source #
app :: (Alternative m, Monad m) => Parser String m Expr Source #
expr :: (Alternative m, Monad m) => Parser String m Expr Source #