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

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.