HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

Modulecheckers-0.6.0Haskell2010

Test.QuickCheck.Later

Later. Allows for testing of functions that depend on the order of evaluation.

TODO: move this functionality to the testing package for Unamb.

  • 4 values
  • Packagecheckers-0.6.0
  • Exports4
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceLater.hs
valuedelay :: RealFrac t => t -> a -> a
#

Delay a value's availability by the given duration in seconds. Note that the delay happens only on the first evaluation.

valuedelayForever :: a
#

A value that is never available. Rerun of hang from unamb, but replicated to avoid mutual dependency.

TODO: Remove when this module is moved into the unamb-test package.