yapb-0.1.3.1: Yet Another Parser Builder (YAPB)
Safe HaskellSafe-Inferred
LanguageHaskell2010

ReadGrammar

Documentation

data LitGrm Source #

Constructors

LitGrm 

Fields

data State Source #

Instances

Instances details
Eq State Source # 
Instance details

Defined in ReadGrammar

Methods

(==) :: State -> State -> Bool #

(/=) :: State -> State -> Bool #

begin :: Monad m => [Char] -> m State Source #

rep :: Monad m => State -> [String] -> m LitGrm Source #

test :: (String -> IO a) -> IO () Source #

repTest :: (String -> IO a) -> [FilePath] -> IO () Source #

prLhsRhss :: String -> [[String]] -> IO () Source #