cabal-debian-4.25: Create a Debianization for a Cabal package

Safe HaskellNone
LanguageHaskell98

Debian.Debianize.Monad

Contents

Synopsis

Documentation

data CabalInfo Source

Bits and pieces of information about the mapping from cabal package names and versions to debian package names and versions. In essence, an Atoms value represents a package's debianization. The lenses in this module are used to get and set the values hidden in this Atoms value. Many of the values should be left alone to be set when the debianization is finalized.

runCabalT :: Monad m => CabalT m a -> CabalInfo -> m (a, CabalInfo) Source

evalCabalT :: Monad m => CabalT m a -> CabalInfo -> m a Source

modify cabal to debian package version map

evalDebianT :: Monad m => DebianT m a -> DebInfo -> m a Source

ifM :: Monad m => m Bool -> m a -> m a -> m a Source

whenM :: Monad m => m Bool -> m () -> m () Source

unlessM :: Monad m => m Bool -> m () -> m () Source