Monadoro-0.2.1.0: A minimalistic CLI Pomodoro timer, based on a library of the same purpose.
Timer
secToTimestamp :: Int -> String Source #
Given an integer number of seconds, secToTimestamp returns the corresponding time in MM:SS.
>>> secToTimestamp 0 "00:00" >>> secToTimestamp 1500 "25:00" >>> secToTimestamp 3000 "50:00"
>>>
secToTimestamp 0
secToTimestamp 1500
secToTimestamp 3000
main :: IO () Source #