HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Modulethyme-0.4.1Haskell2010

Data.Thyme.Time.Core

This module provides the Thyme typeclass, and instances for converting between Data.Time and Data.Thyme types. It also provides compatibility wrappers for existing code using Data.Time.

Note that we do not provide Num hierarchy instances for DiffTime nor NominalDiffTime here. If you want to use them anyway despite parts of them being ill-defined (e.g. (*) on DiffTime), import Data.Thyme.Time instead.

  • 1 class
  • 2 values
  • Packagethyme-0.4.1
  • Exports3
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceCore.hs

module Data.Thyme

classclass Thyme time thyme | thyme -> time where
#

Typeclass for converting between Data.Time and Data.Thyme types.

Methods

Instances11Thyme, …