parsley-0.1.1.0: A fast parser combinator library backed by Typed Template Haskell
Safe HaskellNone
LanguageHaskell2010

Parsley.Internal.Backend.Machine.Defunc

Documentation

data Defunc a where Source #

Constructors

USER :: Defunc a -> Defunc a 
BOTTOM :: Defunc a 
SAME :: PositionOps o => Defunc (o -> o -> Bool) 
FREEVAR :: Code a -> Defunc a 
OFFSET :: Code (Rep o) -> Defunc o 

Instances

Instances details
Show (Defunc a) Source # 
Instance details

Defined in Parsley.Internal.Backend.Machine.Defunc

Methods

showsPrec :: Int -> Defunc a -> ShowS #

show :: Defunc a -> String #

showList :: [Defunc a] -> ShowS #

ap2 :: Defunc (a -> b -> c) -> Defunc a -> Defunc b -> Defunc c Source #

genDefunc1 :: Defunc (a -> b) -> Code a -> Code b Source #

genDefunc2 :: Defunc (a -> b -> c) -> Code a -> Code b -> Code c Source #