mirror of
https://github.com/github/semantic.git
synced 2024-12-23 14:54:16 +03:00
Define a Listable1 instance over [].
This commit is contained in:
parent
d95077037e
commit
b39a9c2d0e
@ -55,3 +55,7 @@ instance Listable2 (,) where
|
||||
|
||||
instance Listable a => Listable1 ((,) a) where
|
||||
liftTiers = liftTiers2 tiers
|
||||
|
||||
instance Listable1 [] where
|
||||
liftTiers tiers = go
|
||||
where go = cons0 [] \/ liftCons2 tiers go (:)
|
||||
|
Loading…
Reference in New Issue
Block a user