Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- getValidMakeFile :: Maybe FilePath -> IO (Either MakeFile MFError)
- parsecMakeFile :: Parser MakeFile
- parseMakeFile :: String -> Either ParseError MakeFile
- regularParse :: Parser a -> String -> Either ParseError a
- testMakeFileParse :: Maybe FilePath -> IO ()
Documentation
getValidMakeFile :: Maybe FilePath -> IO (Either MakeFile MFError) Source #
Extract valid makefile at given path, else $PWD/Makefile
Result is either a Left
-wrapped error message or a Right
-wrapped result.
parsecMakeFile :: Parser MakeFile Source #
Parsec Stuff
parseMakeFile :: String -> Either ParseError MakeFile Source #
Top level code
regularParse :: Parser a -> String -> Either ParseError a Source #