Copyright | (c) The GHC Team, 1997-2000 |
---|---|
License | BSD-style (see the file libraries/base/LICENSE) |
Maintainer | libraries@haskell.org |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
Utilities for the Haskell parser.
Documentation
mkRecConstrOrUpdate :: HsExp -> [HsFieldUpdate] -> P HsExp Source
checkContext :: HsType -> P HsContext Source
checkAssertion :: HsType -> P HsAsst Source
checkDataHeader :: HsQualType -> P (HsContext, HsName, [HsName]) Source
checkClassHeader :: HsQualType -> P (HsContext, HsName, [HsName]) Source
checkInstHeader :: HsQualType -> P (HsContext, HsQName, [HsType]) Source
checkPattern :: HsExp -> P HsPat Source
checkClassBody :: [HsDecl] -> P [HsDecl] Source
checkUnQual :: HsQName -> P HsName Source
checkRevDecls :: [HsDecl] -> P [HsDecl] Source