mirror of
https://github.com/github/semantic.git
synced 2024-11-28 10:15:55 +03:00
Define Listable instances for Context & Empty.
This commit is contained in:
parent
662eb608a7
commit
0184f57713
@ -318,9 +318,15 @@ instance Listable1 Statement.Return where
|
||||
instance Listable1 Syntax.Context where
|
||||
liftTiers tiers = liftCons2 (liftTiers tiers) tiers Syntax.Context
|
||||
|
||||
instance Listable a => Listable (Syntax.Context a) where
|
||||
tiers = tiers1
|
||||
|
||||
instance Listable1 Syntax.Empty where
|
||||
liftTiers _ = cons0 Syntax.Empty
|
||||
|
||||
instance Listable a => Listable (Syntax.Empty a) where
|
||||
tiers = tiers1
|
||||
|
||||
instance Listable1 Syntax.Identifier where
|
||||
liftTiers _ = cons1 Syntax.Identifier
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user