HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

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.