shake-plus-0.3.3.1: Re-export of Shake using well-typed paths and ReaderT.
LicenseMIT
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Development.Shake.Plus.Temp

Description

Temp utilities in Development.Shake unlifted to MonadUnliftAction.

Synopsis

Documentation

withTempFile :: (MonadUnliftAction m, MonadThrow m) => (Path Rel File -> m a) -> m a Source #

Unlifted version of withTempFile with well-typed Path.

withTempDir :: (MonadUnliftAction m, MonadThrow m) => (Path Rel Dir -> m a) -> m a Source #

Unlifted version of withTempFile with well-typed Path.

withTempFileWithin :: (MonadUnliftAction m, MonadThrow m) => Path b Dir -> (Path Rel File -> m a) -> m a Source #

Unlifted version of withTempFileWithin with well-typed Paths.

withTempDirWithin :: (MonadUnliftAction m, MonadThrow m) => Path b Dir -> (Path Rel Dir -> m a) -> m a Source #

Unlifted version of withTempDirWithin with well-typed Paths.