You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package provides instances for the classes in the QuickCheck Haskell library.
QuickCheck itself doesn't ship with instances for types outsde of the `base` package, however there are a lot more types which are commonly used within Haskell libraries and programs.
We aim to provide instances for the types which ship with the Haskell Platform, however we only add them as the maintainer needs them or as patches are received, so we may lag behind the platform itself.
I was searching for an instance of
Arbitrary (Data.List.NonEmpty.NonEmpty _)
, i.e., a type defined inbase
, and looked up the docs for this package.qc-instances/README.md
Lines 3 to 7 in 05bf6a4
qc-instances/src/Test/QuickCheck/Instances.hs
Lines 2 to 8 in 05bf6a4
It does not say (yet) that it provides instance for
base
.This might be documentation bit-rot, since originally non-empty lists were not part of
base
.I think README and docs should be updated to reflect the current situation.
Maybe also this sentence:
qc-instances/README.md
Line 9 in 05bf6a4
See also:
Arbitrary
instance forData.List.NonEmpty.NonEmpty
nick8325/quickcheck#411The text was updated successfully, but these errors were encountered: