1
1
mirror of https://github.com/github/semantic.git synced 2024-12-30 18:36:27 +03:00

Define a Listable1 instance over Listable leaf => Syntax leaf.

This commit is contained in:
Rob Rix 2017-01-05 15:22:49 -05:00
parent 15bc5d2cda
commit 7676e162cb

View File

@ -164,3 +164,6 @@ instance Listable2 Syntax where
\/ liftCons1 recur Break
\/ liftCons1 recur Continue
\/ liftCons1 (liftTiers recur) BlockStatement
instance Listable leaf => Listable1 (Syntax leaf) where
liftTiers = liftTiers2 tiers