Add instance for ToSample NonEmpty (#1330)

This commit is contained in:
Cary Robbins 2020-10-01 07:02:43 -05:00 committed by GitHub
parent 264846a61f
commit 83bbc6d520
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1064,6 +1064,7 @@ instance (ToSample a, ToSample b, ToSample c, ToSample d, ToSample e, ToSample f
instance ToSample a => ToSample (Maybe a)
instance (ToSample a, ToSample b) => ToSample (Either a b)
instance ToSample a => ToSample [a]
instance ToSample a => ToSample (NonEmpty a)
-- ToSample instances for Control.Applicative types
instance ToSample a => ToSample (Const a b)