@@ -1,43 +0,0 @@
1−{-# OPTIONS_GHC -Wall #-}
2−module Reporting.Progress.Bar
18−render :: Int -> Int -> Int -> String
19−render successes failures total =
25− fromIntegral numDone / fromIntegral total
28− truncate (fraction * width)
31− truncate width - unitsDone
34− ++ replicate unitsDone '='
35− ++ replicate unitsLeft ' '
37− ++ show numDone ++ " / " ++ show total
42− '\r' : replicate (length (render 49999 50000 99999)) ' ' ++ "\r"