Closed chshersh closed 6 years ago
In README I wrote:
workWeek :: Natural -> WorkWeek workWeek = time completeWeeks = workWeek $ floor $ convertUnit @WorkWeekUnit workHours
Here you can see some redundancy, because I specified WorkWeek twice. This is not satisfying. Problem is in type of floor function:
WorkWeek
floor
floor :: (Integral b, RealFrac a) => a -> b
I think we need to do something with it...
In README I wrote:
Here you can see some redundancy, because I specified
WorkWeek
twice. This is not satisfying. Problem is in type offloor
function:I think we need to do something with it...