1
1
mirror of https://github.com/github/semantic.git synced 2024-11-25 02:58:36 +03:00
This commit is contained in:
Rob Rix 2019-10-08 15:40:48 -04:00
parent 607f8263a5
commit acbb1e7cd5
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -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