shake-plus-0.3.0.0: Re-export of Shake using well-typed paths and ReaderT.

CopyrightCopyright (C) 2020 Daniel Firth
MaintainerDaniel Firth <dan.firth@homotopic.tech>
Safe HaskellNone
LanguageHaskell2010

Development.Shake.Plus.Temp

Description

License : MIT Stability : experimental

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.