Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
Documentation
readPackage :: FilePath -> IO GenericPackageDescription Source #
High level convinience function to read package definitons, .cabal
files.
May throw IOException
when file doesn't exist, and ParseError
on parse error.
parsePackage :: FilePath -> ByteString -> Either ParseError GenericPackageDescription Source #
Parse .cabal
file.