mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +03:00
No need for this instance
This commit is contained in:
parent
82ce940292
commit
2d17064681
@ -32,9 +32,6 @@ instance GAlign Identity where
|
||||
instance Apply GAlign fs => GAlign (Union fs) where
|
||||
galignWith f = (join .) . apply2' (Proxy :: Proxy GAlign) (\ inj -> (fmap inj .) . galignWith f)
|
||||
|
||||
instance GAlign (Union '[]) where
|
||||
galignWith _ _ _ = Nothing
|
||||
|
||||
instance GAlign NonEmpty where
|
||||
galignWith f (a:|as) (b:|bs) = Just (f (These a b) :| alignWith f as bs)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user