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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

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.