ghc-7.2.2: The GHC API

LexCore

Documentation

lexer :: (Token -> P a) -> P aSource

lexNum :: (Token -> String -> a) -> String -> aSource

lexName :: (a -> String -> b) -> (String -> a) -> String -> bSource