mirror of
https://github.com/github/semantic.git
synced 2024-12-22 06:11:49 +03:00
Define GSequenceable over Rec1.
This commit is contained in:
parent
bc5f05494d
commit
9a94dddd2b
@ -22,3 +22,6 @@ instance GSequenceable Par1 where
|
||||
|
||||
instance GSequenceable (K1 i c) where
|
||||
gsequenceAlt (K1 a) = pure (K1 a)
|
||||
|
||||
instance GSequenceable f => GSequenceable (Rec1 f) where
|
||||
gsequenceAlt (Rec1 a) = Rec1 <$> gsequenceAlt a
|
||||
|
Loading…
Reference in New Issue
Block a user