nick8325 / quickcheck

Automatic testing of Haskell programs.
Other
714 stars 119 forks source link

NonEmpty #225

Closed andrewthad closed 5 years ago

andrewthad commented 5 years ago

Data.List.NonEmpty has been in base since 8.0. May I add an instance for this type? It would only be available when building against a sufficiently new base.

phadej commented 5 years ago

We left it on purpose. It's in http://hackage.haskell.org/package/quickcheck-instances

andrewthad commented 5 years ago

Ah, that makes sense.

kindaro commented 3 years ago

I am disappointed by this decision. Types added to base are supposed to be safe to use everywhere, even in libraries where slim dependencies are a requirement. Alas!