Copyright | Isaac Jones 2003-2005 |
---|---|
License | BSD3 |
Maintainer | cabal-devel@haskell.org |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This defines parsers for the .cabal
format
Synopsis
- readGenericPackageDescription :: Verbosity -> FilePath -> IO GenericPackageDescription
- readHookedBuildInfo :: Verbosity -> FilePath -> IO HookedBuildInfo
- parseString :: (ByteString -> ParseResult a) -> Verbosity -> String -> ByteString -> IO a
Read and Parse files
readHookedBuildInfo :: Verbosity -> FilePath -> IO HookedBuildInfo Source #
Utility Parsing function
:: (ByteString -> ParseResult a) | File contents to final value parser |
-> Verbosity | Verbosity level |
-> String | File name |
-> ByteString | |
-> IO a |