Safe Haskell | None |
---|---|
Language | Haskell2010 |
- deduceVersion :: String -> FortranVersion
- type Parser = ByteString -> String -> Either ParseErrorSimple (ProgramFile A0)
- parserVersions :: [(FortranVersion, Parser)]
- type ParserWithModFiles = ModFiles -> ByteString -> String -> Either ParseErrorSimple (ProgramFile A0)
- parserWithModFilesVersions :: [(FortranVersion, ParserWithModFiles)]
- after :: (b -> c) -> (t -> a -> b) -> t -> a -> c
- fortranParser :: Parser
- fortranParserWithModFiles :: ParserWithModFiles
Documentation
deduceVersion :: String -> FortranVersion Source #
type Parser = ByteString -> String -> Either ParseErrorSimple (ProgramFile A0) Source #
parserVersions :: [(FortranVersion, Parser)] Source #
type ParserWithModFiles = ModFiles -> ByteString -> String -> Either ParseErrorSimple (ProgramFile A0) Source #
fortranParser :: Parser Source #
Deduce the type of parser from the filename and parse the contents of the file.
fortranParserWithModFiles :: ParserWithModFiles Source #
Deduce the type of parser from the filename and parse the contents of the file, within the context of given "mod files".