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

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

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.