packages feed

conduit 1.0.5 → 1.0.5.1

raw patch · 2 files changed

+4/−7 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

System/PosixFile.hsc view
@@ -36,10 +36,7 @@     }  foreign import ccall "open"-    c_open :: CString -> Flag -> IO CInt--foreign import ccall "open"-    c_open_mode :: CString -> Flag -> CInt -> IO CInt+    c_open :: CString -> Flag -> CInt -> IO CInt  foreign import ccall "read"     c_read :: FD -> Ptr Word8 -> CInt -> IO CInt@@ -54,14 +51,14 @@  openRead :: FilePath -> IO FD openRead fp = do-    h <- withCString fp $ \str -> c_open str oRdonly+    h <- withCString fp $ \str -> c_open str oRdonly 438 -- == octal 666     if h < 0         then throwErrno $ "Could not open file: " ++ fp         else return $ FD h  openWrite :: FilePath -> IO FD openWrite fp = do-    h <- withCString fp $ \str -> c_open_mode str (oWronly .|. oCreat) 438 -- == octal 666+    h <- withCString fp $ \str -> c_open str (oWronly .|. oCreat) 438 -- == octal 666     if h < 0         then throwErrno $ "Could not open file: " ++ fp         else return $ FD h
conduit.cabal view
@@ -1,5 +1,5 @@ Name:                conduit-Version:             1.0.5+Version:             1.0.5.1 Synopsis:            Streaming data processing library. Description:     @conduit@ is a solution to the streaming data problem, allowing for production, transformation, and consumption of streams of data in constant memory. It is an alternative to lazy I\/O which guarantees deterministic resource handling, and fits in the same general solution space as @enumerator@\/@iteratee@ and @pipes@. For a tutorial, please visit <https://haskell.fpcomplete.com/user/snoyberg/library-documentation/conduit-overview>.