cabal-fmt-0.1: Format .cabal files
CabalFmt.Monad
data CabalFmt a Source #
Defined in CabalFmt.Monad
Methods
(>>=) :: CabalFmt a -> (a -> CabalFmt b) -> CabalFmt b #
(>>) :: CabalFmt a -> CabalFmt b -> CabalFmt b #
return :: a -> CabalFmt a #
fail :: String -> CabalFmt a #
fmap :: (a -> b) -> CabalFmt a -> CabalFmt b #
(<$) :: a -> CabalFmt b -> CabalFmt a #
pure :: a -> CabalFmt a #
(<*>) :: CabalFmt (a -> b) -> CabalFmt a -> CabalFmt b #
liftA2 :: (a -> b -> c) -> CabalFmt a -> CabalFmt b -> CabalFmt c #
(*>) :: CabalFmt a -> CabalFmt b -> CabalFmt b #
(<*) :: CabalFmt a -> CabalFmt b -> CabalFmt a #
ask :: CabalFmt Options #
local :: (Options -> Options) -> CabalFmt a -> CabalFmt a #
reader :: (Options -> a) -> CabalFmt a #
throwError :: Error -> CabalFmt a #
catchError :: CabalFmt a -> (Error -> CabalFmt a) -> CabalFmt a #
runCabalFmt :: Options -> CabalFmt a -> Either Error a Source #