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

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.