serokell / o-clock

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

Rename 'SecondUnit' → 'Second' #47

Closed chshersh closed 6 years ago

chshersh commented 6 years ago

Discussed here:

Allows to have:

  1. Simpler interface using -XTypeApplications.
  2. Simpler types (no type equalities in types).
  3. Less boilerplate (no need to create type SecondTime = Time Second).
  4. Better Series instance for.