BNFC-2.8.4: A compiler front-end generator.

Safe HaskellNone
LanguageHaskell2010

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 #