mirror of
https://github.com/github/semantic.git
synced 2024-11-25 02:58:36 +03:00
📝 the reflexive instance.
This commit is contained in:
parent
ea0a4c99b8
commit
579e5792e8
@ -45,6 +45,7 @@ type family (a :: Side) <> (b :: Side) :: Side where
|
||||
class Element' (side :: Side) sub sup where
|
||||
prj' :: sup a -> Maybe (sub a)
|
||||
|
||||
-- | Membership is reflexive.
|
||||
instance Element' 'Here t t where
|
||||
prj' = Just
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user