Add ToSample instances for Maybe, Either and []
This commit is contained in:
parent
75999b8211
commit
a2bc8a0d0d
1 changed files with 4 additions and 0 deletions
|
@ -971,3 +971,7 @@ instance (ToSample a a, ToSample b b, ToSample c c, ToSample d d, ToSample e e)
|
|||
instance (ToSample a a, ToSample b b, ToSample c c, ToSample d d, ToSample e e, ToSample f f) => ToSample (a, b, c, d, e, f) (a, b, c, d, e, f)
|
||||
instance (ToSample a a, ToSample b b, ToSample c c, ToSample d d, ToSample e e, ToSample f f, ToSample g g) => ToSample (a, b, c, d, e, f, g) (a, b, c, d, e, f, g)
|
||||
|
||||
instance ToSample a a => ToSample (Maybe a) (Maybe a)
|
||||
instance (ToSample a a, ToSample b b) => ToSample (Either a b) (Either a b)
|
||||
instance ToSample a a => ToSample [a] [a]
|
||||
|
||||
|
|
Loading…
Reference in a new issue