1
1
mirror of https://github.com/github/semantic.git synced 2025-01-02 12:23:08 +03:00

Define a Listable instance over Syntax leaf recur.

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

View File

@ -167,3 +167,6 @@ instance Listable2 Syntax where
instance Listable leaf => Listable1 (Syntax leaf) where
liftTiers = liftTiers2 tiers
instance (Listable leaf, Listable recur) => Listable (Syntax leaf recur) where
tiers = tiers1