HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduletomland-1.3.3.3Haskell2010

Toml.Codec.Combinator.Time

SPDX-License-Identifier : MPL-2.0 Maintainer : Kowainik xrom.xkov@gmail.com Stability : Stable Portability : Portable

TOML-specific combinators for converting between TOML and Haskell date and time data types. TOML specification describes date and time primitives you can use in your configuration. tomland provides mapping of those primitives to types from the time library.

Haskell Type

TOML

TomlCodec

ZonedTime

a = 2020-05-16T04:32:00Z

zonedTime "a"

LocalTime

a = 2020-05-16T04:32:00

localTime "a"

Day

a = 2020-05-16

day "a"

TimeOfDay

a = 04:32:00

timeOfDay "a"

  • 4 values
  • Packagetomland-1.3.3.3
  • Exports4
  • LanguageHaskell2010
  • LicenceMPL-2.0
  • SourceTime.hs