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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 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)