stylish-cabal-0.1.0.0: Format Cabal files

Safe HaskellNone
LanguageHaskell2010

StylishCabal

Documentation

displayError :: Show a => Maybe [Char] -> Maybe a -> [Char] -> IO b Source #

data Result a Source #

Constructors

Error (Maybe LineNo) String 
Warn [PWarning] 
Success a 

Instances

Functor Result Source # 

Methods

fmap :: (a -> b) -> Result a -> Result b #

(<$) :: a -> Result b -> Result a #

Show a => Show (Result a) Source # 

Methods

showsPrec :: Int -> Result a -> ShowS #

show :: Result a -> String #

showList :: [Result a] -> ShowS #