imm-0.3.0.0: RSS-to-maildir tool

Safe HaskellSafe-Infered

Imm.Util

Synopsis

Documentation

io :: MonadIO m => IO a -> m aSource

Shortcut to liftIO

try :: (MonadIO m, MonadError ImmError m) => IO a -> m aSource

Monad-agnostic version of Control.Exception.try

logNormal, logVerbose :: MonadIO m => String -> m ()Source

Print logs with arbitrary importance.

resolve :: MonadIO m => (RefDirs -> a) -> m aSource

Evaluate given function while replacing directory variables appropriately for the current system