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

Modulequickcheck-classes-0.6.5.0Haskell2010

Test.QuickCheck.Classes.IsList

  • 16 values
valueisListLaws
  1. :: (IsList a, Show a, Show (Item a), Arbitrary a, Arbitrary (Item a), Eq a)
  2. => Proxy a
  3. -> Laws
#

Tests the following properties:

Partial Isomorphism

fromList . toList ≡ id

Length Preservation

fromList xs ≡ fromListN (length xs) xs

Note: This property test is only available when using base-4.7 or newer.