Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type ExternParse = Either ParseError [ExternDecl]
- data ExternDecl
- type ModuleIdent = Text
- type DeclIdent = Text
- type Type = Text
- data Fixity
- readExternFile :: FilePath -> IO ExternParse
- parseExtern :: Text -> Either ParseError ExternDecl
- parseExternDecl :: Parser ExternDecl
- typeParse :: Text -> Either Text (Text, Text)
Documentation
type ExternParse = Either ParseError [ExternDecl] Source
data ExternDecl Source
type ModuleIdent = Text Source
readExternFile :: FilePath -> IO ExternParse Source
Parses an extern file into the ExternDecl format.