libmolude-0.12.3: Prelude based on protolude for GHC 8 and beyond.

Copyright© 2016 All rights reserved.
LicenseGPL-3
MaintainerEvan Cofsky <evan@theunixman.com>
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Temporary

Description

 

Synopsis

Documentation

withTempHandle :: (MonadIO m, MonadMask m) => RelFile -> (Handle -> m a) -> m a Source #

Run a function with a temporary file handle named after the passed name. Ensures the handle is unbuffered and in binary mode.