BNFC-2.8.2: A compiler front-end generator.

Safe HaskellNone
LanguageHaskell98

Parsing.TestProgram

Documentation

mainTest :: forall category token. (RingP [(category, Any)], Eq category) => ((category, Any) -> String) -> (Bool -> token -> Pair [(category, Any)]) -> (String -> [token]) -> (token -> (Int, Int)) -> (category -> String) -> (category -> [category]) -> IO () Source #

pairs :: [a] -> [(a, a)] Source #

resSz :: Num a => (a, b, a) -> a Source #