mirror of
https://github.com/github/semantic.git
synced 2024-11-25 02:58:36 +03:00
📝 <>.
This commit is contained in:
parent
607f8263a5
commit
acbb1e7cd5
@ -36,6 +36,7 @@ type family Find' (side :: Side) sub sup :: Side where
|
||||
Find' s t (l :+: r) = Find' s t l <> Find' s t r
|
||||
Find' _ _ _ = 'None
|
||||
|
||||
-- | Return the leftmost non-'None' side, or 'None'.
|
||||
type family (a :: Side) <> (b :: Side) :: Side where
|
||||
'None <> b = b
|
||||
a <> _ = a
|
||||
|
Loading…
Reference in New Issue
Block a user