Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Time Interval Data Type to use to schedule jobs, (Secs, Minutes, Hours, Days), coupled along with convenience function to convert datatype to a rational number. Please note this data type guards against negative time which will result in 0
Additionmultiplicationdivision's resultant type instance will determined by the left operand
Sec x + Day y = Sec z Day x + Minute y = Day z