mirror of
https://github.com/github/semantic.git
synced 2024-12-26 00:12:29 +03:00
📝 the right-recursive instance.
This commit is contained in:
parent
5242e394df
commit
5d4317031a
@ -55,6 +55,7 @@ instance Element t l
|
||||
prj' (L1 l) = prj l
|
||||
prj' _ = Nothing
|
||||
|
||||
-- | Membership on the right.
|
||||
instance Element t r
|
||||
=> Element' 'R t (l :+: r) where
|
||||
prj' (R1 r) = prj r
|
||||
|
Loading…
Reference in New Issue
Block a user