stylish-cabal-0.1.0.0: Format Cabal files
StylishCabal
pretty :: Int -> GenericPackageDescription -> Doc Source #
displayError :: Show a => Maybe [Char] -> Maybe a -> [Char] -> IO b Source #
printWarnings :: Foldable t => t PWarning -> IO b Source #
data Result a Source #
Constructors
Instances
Methods
fmap :: (a -> b) -> Result a -> Result b #
(<$) :: a -> Result b -> Result a #
showsPrec :: Int -> Result a -> ShowS #
show :: Result a -> String #
showList :: [Result a] -> ShowS #
parse :: String -> Result GenericPackageDescription Source #