Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Hix.Optparse
Description
Combinators for optparse-applicative
.
Synopsis
- absFileOption :: ReadM (Path Abs File)
- relFileOption :: ReadM (Path Rel File)
- absDirOption :: ReadM (Path Abs Dir)
- relDirOption :: ReadM (Path Rel Dir)
- newtype JsonConfig = JsonConfig {
- unJsonConfig :: IO (Either String Value)
- jsonOption :: ReadM JsonConfig
Documentation
absFileOption :: ReadM (Path Abs File) Source #
An absolute file path option for optparse-applicative
.
relFileOption :: ReadM (Path Rel File) Source #
A relative file path option for optparse-applicative
.
newtype JsonConfig Source #
Constructors
JsonConfig | |
Fields
|
Instances
Generic JsonConfig Source # | |
Defined in Hix.Optparse Associated Types type Rep JsonConfig :: Type -> Type # | |
Show JsonConfig Source # | |
Defined in Hix.Optparse Methods showsPrec :: Int -> JsonConfig -> ShowS # show :: JsonConfig -> String # showList :: [JsonConfig] -> ShowS # | |
type Rep JsonConfig Source # | |
Defined in Hix.Optparse type Rep JsonConfig = D1 ('MetaData "JsonConfig" "Hix.Optparse" "hix-0.6.9-IXVGj3uQpBlH45J56StoKp" 'True) (C1 ('MetaCons "JsonConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "unJsonConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (IO (Either String Value))))) |