Copyright | (c) 2019-2021 Vaclav Svejcar |
---|---|
License | BSD-3-Clause |
Maintainer | vaclav.svejcar@gmail.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
This component displays progress in format [CURR of TOTAL]
.
Documentation
Progress indication. First argument is current progress, second the maximum value.
:: [a] | list to zip with progress |
-> [(Progress, a)] | zipped result |
Zips given list with the progress info.
>>>
zipWithProgress ["a", "b"]
[(Progress 1 2,"a"),(Progress 2 2,"b")]