mirror of
https://github.com/github/semantic.git
synced 2024-11-28 10:15:55 +03:00
Define a Listable1 instance for Context.
This commit is contained in:
parent
aae77f6e0e
commit
f274a9dd7d
@ -307,6 +307,9 @@ instance Listable1 Statement.If where
|
||||
instance Listable1 Statement.Return where
|
||||
liftTiers tiers = liftCons1 tiers Statement.Return
|
||||
|
||||
instance Listable1 Syntax.Context where
|
||||
liftTiers tiers = liftCons2 (liftTiers tiers) tiers Syntax.Context
|
||||
|
||||
instance Listable1 Syntax.Empty where
|
||||
liftTiers _ = cons0 Syntax.Empty
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user