HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

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.

Synopsis
  • 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.