| Portability | portable |
|---|---|
| Stability | experimental |
| Maintainer | libraries@haskell.org |
| Safe Haskell | None |
FrontEnd.ParseUtils
Description
Utilities for the Haskell parser.
Documentation
mkRecConstrOrUpdate :: HsExp -> [HsFieldUpdate] -> P HsExpSource
checkContext :: HsType -> P HsContextSource
checkDataHeader :: HsQualType -> P (HsContext, Name, [Name])Source
checkPattern :: HsExp -> P HsPatSource
checkPatterns :: [HsExp] -> P [HsPat]Source
checkUnQual :: Name -> P NameSource
readInteger :: String -> IntegerSource
readRational :: String -> RationalSource
fixupHsDecls :: [HsDecl] -> [HsDecl]Source
parseError :: String -> P aSource