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

Modulegenvalidity-hspec-1.0.0.4Haskell2010

Test.Validity.Utils

Utilities for defining your own validity Specs

You will need TypeApplications to use these.

  • 1 type
  • 7 values
valuefailsBecause :: String -> SpecWith () -> SpecWith ()
#

Asserts that a given Spec tree fails _somewhere_.

It also shows the given string when reporting that the tree unexpectedly succeeded.

newtypenewtype Anon a
#

Constructors

Instances2Functor, Show
  • Functor AnonDefined in genvalidity-hspec-1.0.0.4 · Test.Validity.Utils
  • Show (Anon a)Defined in genvalidity-hspec-1.0.0.4 · Test.Validity.Utils