
18 Aug
2017
18 Aug
'17
5:35 a.m.
Hello, List! DiffTime type has "closed" on itself operation "/". So, (/) :: DiffTime -> DiffTime -> DiffTime But from a physics point of view, it doesn't make sense. When you divide hours by hours you get "dimensionless" value, not units (hours) but simple number (I'm not sure how it's named in English). And it's true for any physical values: [m/s] : [m/s] = [Int] (not [m/s] sure) Is it right to define CLOSED "/" for such set like DiffTime? === Best regards, Paul