úÎM³K—      0with/bracket-style idioms for use with streamingIvan Lazar MiljenovicMITIvan.Miljenovic@gmail.comNonerA lifted variant of .>You almost definitely don't want to use this; instead, use  in conjunction with Data.ByteString.Streaming.A lifted variant of .Write to the specified file.Append to the specified file.-Apply a function to the contents of the file.:Note that a different monadic stack is allowed for the  c input, as long as it later gets resolved to the required output type (e.g. remove transformer).  /This is ! from the  temporaryK package with the continuation re-structured to only take one argument./NCreate and use a temporary file in the system standard temporary directory.Behaves exactly the same as  L, except that the parent temporary directory will be that returned by ".  /This is # from the  temporaryK package with the continuation re-structured to only take one argument./4Use a temporary filename that doesn't already exist.‹Creates a new temporary file inside the given directory, making use of the template. The temp file is deleted after use. For example: 6withTempFile "src" "sdist." $ \(tmpFile, hFile) -> ...The tmpFile. will be file in the given directory, e.g.  src/sdist.342. File name template. See $ Temp dir to create the file inFile name template. See $.   7Lifted with/bracket-style idioms for use with streamingIvan Lazar MiljenovicMITIvan.Miljenovic@gmail.comNone ;<=FQTVJß %Safely run the provided continuation.GA result of type '()' is required to ensure no resources are leaked.*Note that you cannot write something like: ÝcopyBoth :: FilePath -> FilePath -> FilePath -> IO () copyBoth inF1 inF2 outF = runWith $ do bs1 <- withBinaryFileContents inF1 bs2 <- withBinaryFileContents inF2 writeBinaryFile outF bs1 appendBinaryFile outF bs2as the  U instance cannot be inferred. As such, you will need to specify a type somewhere. AHow to automatically lift bracket-style expressions into a monad.œThe constraints are common ones found throughout this module, and as such incorporated into this class to avoid repetition in all the type signatures.%It is highly recommended that you do notê try and layer extra transformers on top of this; the intent of this class is just to make writing all the underlying continuations in a nicer fashion without explicit nesting, rather than as the basis of lower-level code.YA helper function to run a computation within a lifted resource management expression. !within w f = w >>= liftAction . f4A helper function for the common case of lifting an IO computation into a Withable."liftActionIO = liftAction . liftIO.%ZA helper function for the common case of throwing an exception in the underlying monad.liftThrow = liftAction . throwM.A lifted variant of .>You almost definitely don't want to use this; instead, use  in conjunction with Data.ByteString.Streaming.A lifted variant of .Write to the specified file.Append to the specified file.-Apply a function to the contents of the file.:Note that a different monadic stack is allowed for the  c input, as long as it later gets resolved to the required output type (e.g. remove transformer).NCreate and use a temporary file in the system standard temporary directory.Behaves exactly the same as L, except that the parent temporary directory will be that returned by .4Use a temporary filename that doesn't already exist.‹Creates a new temporary file inside the given directory, making use of the template. The temp file is deleted after use. For example: 8withTempFile "src" "sdist." >>= \(tmpFile, hFile) -> ...The tmpFile. will be file in the given directory, e.g.  src/sdist.342.SCreate and use a temporary directory in the system standard temporary directory.Behaves exactly the same as L, except that the parent temporary directory will be that returned by .%Create and use a temporary directory.•Creates a new temporary directory inside the given directory, making use of the template. The temp directory is deleted after use. For example: 3withTempDirectory "src" "sdist." >>= \tmpDir -> ...The tmpDir< will be a new subdirectory of the given directory, e.g.  src/sdist.342.File name template. See .Temp dir to create the file inFile name template. See . Directory name template. See .,Temp directory to create the directory in Directory name template. See .     &    !"#   $%&-streaming-with-0.2.1.0-KRIOt4WnXzp2fB8OqQrkelStreaming.WithStreaming.With.Lifted System.IOwithFilewithBinaryFileSystem.IO.TempgetCanonicalTemporaryDirectory openTempFile'exceptions-0.8.3-6TQSgd6QYnC83Uf6EwjUmsControl.Monad.Catchbracket MonadMask(temporary-1.2.1.1-8uuIE63cht0EZQF3y7CWCEwithTempDirectorywithSystemTempDirectorywriteBinaryFileappendBinaryFilewithBinaryFileContentswithSystemTempFile withTempFile RunWithablerunWithWithable WithMonadliftWith liftActionwithin liftActionIO$fWithableContT$fWithableManaged$fRunWithableContT$fRunWithableManaged1streaming-bytestring-0.1.5-5MS3IfcT4X78rjkOy8zD83"Data.ByteString.Streaming.Internal ByteStringbase liftThrow