| Safe Haskell | Safe-Inferred |
|---|
Language.Haskell.Modules.Util.Temp
- withTempDirectory :: MonadCatchIO m => FilePath -> String -> (FilePath -> m a) -> m a
Documentation
Arguments
| :: MonadCatchIO m | |
| => FilePath | Temp directory to create the directory in |
| -> String | Directory name template. See |
| -> (FilePath -> m a) | Callback that can use the directory |
| -> m a |
Adapted from withTempDirectory to work in MonadCatchIO instances.