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

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

Modulechell-quickcheck-0.2.5.4GHC2021

Test.Chell.QuickCheck

  • 1 value
valueproperty :: Testable prop => String -> prop -> Test
#

Convert a QuickCheck property to a Chell Test.

import Test.Chell
import Test.Chell.QuickCheck
import Test.QuickCheck hiding (property)

test_NullLength :: Test
test_NullLength = property "null-length"
   (xs -> not (null xs) ==> length xs > 0)