leancheck-instances-0.0.5: Common LeanCheck instances
Copyright(c) 2019-2022 Rudy Matela
License3-Clause BSD (see the file LICENSE)
MaintainerRudy Matela <rudy@matela.com.br>
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.LeanCheck.Instances.Time

Description

Declares Listable time datatype instances.

Admitedly, these Listable enumerations are defined somewhat arbitrarily...

Orphan instances

Listable Day Source #

This listable enumeration starts with January 2019 then switches back and forth between past and future.

list :: [Day] =
  [ 2019-01-01
  , 2099-01-24
  , 1938-12-09
  , 2139-02-05
  , 1978-12-20
  , 2059-01-12
  , 1898-11-27
  , 2159-02-11
  , 1998-12-26
  , 2079-01-18
  , ...
  ]
Instance details

Methods

tiers :: [[Day]] #

list :: [Day] #

Listable DiffTime Source # 
Instance details

Methods

tiers :: [[DiffTime]] #

list :: [DiffTime] #

Listable UTCTime Source # 
Instance details

Methods

tiers :: [[UTCTime]] #

list :: [UTCTime] #