HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Moduletiming-convenience-0.1Haskell98

Data.Time.Convenience.Data

Synopsis
datadata Direction

The direction in which to travel from the current time (or, in the case of FromThat, from the given time). As just hinted at, FromNow and FromThat are the same thing, but one reads better sometimes. Same with Ago and BeforeThat.

Instances3Eq, Ord, Show
  • Eq DirectionDefined in timing-convenience-0.1 · Data.Time.Convenience.Data
  • Ord DirectionDefined in timing-convenience-0.1 · Data.Time.Convenience.Data
  • Show DirectionDefined in timing-convenience-0.1 · Data.Time.Convenience.Data