HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduletiming-convenience-0.1Haskell98

Data.Time.Convenience.Data

  • 2 types
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