serokell / o-clock

:hourglass: Type-safe time units in Haskell
Mozilla Public License 2.0
49 stars 6 forks source link

Implement 'Timestamp' and 'TimeDiff' numerics #4

Closed chshersh closed 6 years ago

chshersh commented 6 years ago

Proposed by @int-index:

  1. Timestamp — can be negative, has no units
  2. Time (TimeDiff) — cannot be negative, has units