cabal-gild-1.3.1.0: Formats package descriptions.
Safe HaskellSafe-Inferred
LanguageHaskell2010

CabalGild.Unstable.Type.Mode

Synopsis

Documentation

data Mode Source #

Represents the mode of the command line utility.

Constructors

Check

Just determine if the input is already formatted.

Format

Format the input.

Instances

Instances details
Show Mode Source # 
Instance details

Defined in CabalGild.Unstable.Type.Mode

Methods

showsPrec :: Int -> Mode -> ShowS #

show :: Mode -> String #

showList :: [Mode] -> ShowS #

Eq Mode Source # 
Instance details

Defined in CabalGild.Unstable.Type.Mode

Methods

(==) :: Mode -> Mode -> Bool #

(/=) :: Mode -> Mode -> Bool #

fromString :: MonadThrow m => String -> m Mode Source #

Attempts to parse a string as a mode.