Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data HaskellIdentifier
- unHaskellIdentifier :: HaskellIdentifier -> String
- haskellIdentifierFromString :: Bool -> String -> Either String HaskellIdentifier
- haskellCParserContext :: Bool -> TypeNames -> CParserContext HaskellIdentifier
- parseHaskellIdentifier :: forall i m. CParser i m => m HaskellIdentifier
- mangleHaskellIdentifier :: Bool -> HaskellIdentifier -> CIdentifier
- haskellReservedWords :: HashSet String
Documentation
data HaskellIdentifier Source #
A possibly qualified Haskell identifier.
Instances
parseHaskellIdentifier :: forall i m. CParser i m => m HaskellIdentifier Source #
mangleHaskellIdentifier :: Bool -> HaskellIdentifier -> CIdentifier Source #
Mangles an HaskellIdentifier
to produce a valid CIdentifier
which still sort of resembles the HaskellIdentifier
.