Skip to content

Commit

Permalink
Add instance for ToSample NonEmpty (haskell-servant#1330)
Browse files Browse the repository at this point in the history
  • Loading branch information
carymrobbins authored Oct 1, 2020
1 parent 264846a commit 83bbc6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions servant-docs/src/Servant/Docs/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 83bbc6d

Please sign in to comment.