HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

Modulechell-quickcheck-0.2.5.4GHC2021

Test.Chell.QuickCheck

Synopsis
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)