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