mirror of
https://github.com/github/semantic.git
synced 2024-11-29 02:44:36 +03:00
📝 the left-recursive instance.
This commit is contained in:
parent
579e5792e8
commit
5242e394df
@ -49,6 +49,7 @@ class Element' (side :: Side) sub sup where
|
|||||||
instance Element' 'Here t t where
|
instance Element' 'Here t t where
|
||||||
prj' = Just
|
prj' = Just
|
||||||
|
|
||||||
|
-- | Membershp on the left.
|
||||||
instance Element t l
|
instance Element t l
|
||||||
=> Element' 'L t (l :+: r) where
|
=> Element' 'L t (l :+: r) where
|
||||||
prj' (L1 l) = prj l
|
prj' (L1 l) = prj l
|
||||||
|
Loading…
Reference in New Issue
Block a user