mirror of
https://github.com/github/semantic.git
synced 2024-12-19 12:51:52 +03:00
🔥 the (bogus) pair implementation.
This commit is contained in:
parent
b1b9806e61
commit
2c5810324a
@ -42,9 +42,6 @@ instance (GAlign f, GAlign g) => GAlign (f :*: g) where
|
||||
instance (Traversable f, Applicative f, GAlign g) => GAlign (f :.: g) where
|
||||
galign (Comp1 a) (Comp1 b) = Comp1 <$> sequenceA (galign <$> a <*> b)
|
||||
|
||||
instance GAlign ((,) a) where
|
||||
galign (_, a) (k, b) = Just (k, These a b)
|
||||
|
||||
instance GAlign [] where galign a = Just . align a
|
||||
instance Eq key => GAlign (OrderedMap key) where galign a = Just . align a
|
||||
instance GAlign (Syntax a)
|
||||
|
Loading…
Reference in New Issue
Block a user