ghc-7.0.3: 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