| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Hpack
Contents
Synopsis
- version :: Version
- hpack :: Verbose -> Options -> IO ()
- hpackResult :: Options -> IO Result
- printResult :: Verbose -> Result -> IO ()
- data Result = Result {}
- data Status
- defaultOptions :: Options
- setTarget :: FilePath -> Options -> Options
- setDecode :: (FilePath -> IO (Either String Value)) -> Options -> Options
- getOptions :: FilePath -> [String] -> IO (Maybe (Verbose, Options))
- data Verbose
- data Options = Options {}
- data Force
Documentation
NOTE: This module is exposed to allow integration of Hpack into other tools. It is not meant for general use by end users. The following caveats apply:
- The API is undocumented, consult the source instead.
- The exposed types and functions primarily serve Hpack's own needs, not that of a public API. Breaking changes can happen as Hpack evolves.
As an Hpack user you either want to use the hpack executable or a build
tool that supports Hpack (e.g. stack or cabal2nix).
Version
Running Hpack
Constructors
| Result | |
Fields
| |
Options
Constructors
| Options | |
Fields | |