bytestring-progress 1.0.9 → 1.2
raw patch · 2 files changed
+4/−4 lines, 2 filesdep ~terminal-progress-barPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: terminal-progress-bar
API changes (from Hackage documentation)
Files
System/ProgressBar/ByteString.hs view
@@ -10,7 +10,7 @@ import Data.ByteString.Lazy.Progress import System.IO(Handle,hSetBuffering,hPutChar,hPutStr,BufferMode(..)) import System.IO(openFile,hFileSize,IOMode(..))-import System.ProgressBar(Label, mkProgressBar)+import System.ProgressBar(Label, Progress(Progress), mkProgressBar) type ℤ = Integer @@ -33,7 +33,7 @@ | otherwise = 16384 updateProgressBar = mkProgressBar prefix postfix width updateFunction _ now =- tracker $ updateProgressBar (fromIntegral now) size+ tracker $ updateProgressBar (Progress (fromIntegral now) size) -- |As mkByteStringProgressBar, but simply print the output to the given -- Handle instead of using a callback.
bytestring-progress.cabal view
@@ -1,5 +1,5 @@ Name: bytestring-progress-Version: 1.0.9+Version: 1.2 Build-Type: Simple Cabal-Version: >= 1.6 License: BSD3@@ -29,7 +29,7 @@ Exposed-Modules: Data.ByteString.Lazy.Progress if flag(use-system-progressbar)- Build-Depends: terminal-progress-bar >= 0.0.1 && < 0.1.2+ Build-Depends: terminal-progress-bar >= 0.2 && < 0.3 Exposed-Modules: System.ProgressBar.ByteString