Methods
blurFieldGrammar :: ALens' a b -> OptparseGrammar b c -> OptparseGrammar a c #
uniqueFieldAla :: (Parsec b, Pretty b, Newtype a b) => FieldName -> (a -> b) -> ALens' s a -> OptparseGrammar s a #
booleanFieldDef :: FieldName -> ALens' s Bool -> Bool -> OptparseGrammar s Bool #
optionalFieldAla :: (Parsec b, Pretty b, Newtype a b) => FieldName -> (a -> b) -> ALens' s (Maybe a) -> OptparseGrammar s (Maybe a) #
optionalFieldDefAla :: (Parsec b, Pretty b, Newtype a b, Eq a) => FieldName -> (a -> b) -> ALens' s a -> a -> OptparseGrammar s a #
freeTextField :: FieldName -> ALens' s (Maybe String) -> OptparseGrammar s (Maybe String) #
freeTextFieldDef :: FieldName -> ALens' s String -> OptparseGrammar s String #
monoidalFieldAla :: (Parsec b, Pretty b, Monoid a, Newtype a b) => FieldName -> (a -> b) -> ALens' s a -> OptparseGrammar s a #
prefixedFields :: FieldName -> ALens' s [(String, String)] -> OptparseGrammar s [(String, String)] #
knownField :: FieldName -> OptparseGrammar s () #
hiddenField :: OptparseGrammar s a -> OptparseGrammar s a #
deprecatedSince :: CabalSpecVersion -> String -> OptparseGrammar s a -> OptparseGrammar s a #
removedIn :: CabalSpecVersion -> String -> OptparseGrammar s a -> OptparseGrammar s a #
availableSince :: CabalSpecVersion -> a -> OptparseGrammar s a -> OptparseGrammar s a #