mirror of
https://github.com/github/semantic.git
synced 2024-12-26 08:25:19 +03:00
Remove unused liftCons5 function.
This commit is contained in:
parent
669ee584df
commit
a5a349ba23
@ -104,13 +104,6 @@ liftCons4 :: [Tier a] -> [Tier b] -> [Tier c] -> [Tier d] -> (a -> b -> c -> d -
|
|||||||
liftCons4 tiers1 tiers2 tiers3 tiers4 f = mapT (uncurry4 f) (tiers1 >< tiers2 >< tiers3 >< tiers4) `addWeight` 1
|
liftCons4 tiers1 tiers2 tiers3 tiers4 f = mapT (uncurry4 f) (tiers1 >< tiers2 >< tiers3 >< tiers4) `addWeight` 1
|
||||||
where uncurry4 f (a, (b, (c, d))) = f a b c d
|
where uncurry4 f (a, (b, (c, d))) = f a b c d
|
||||||
|
|
||||||
-- | Lifts a quinary constructor to a list of tiers, given lists of tiers for its arguments.
|
|
||||||
--
|
|
||||||
-- Commonly used in the definition of 'Listable1' and 'Listable2' instances.
|
|
||||||
_liftCons5 :: [Tier a] -> [Tier b] -> [Tier c] -> [Tier d] -> [Tier e] -> (a -> b -> c -> d -> e -> f) -> [Tier f]
|
|
||||||
_liftCons5 tiers1 tiers2 tiers3 tiers4 tiers5 f = mapT (uncurry5 f) (tiers1 >< tiers2 >< tiers3 >< tiers4 >< tiers5) `addWeight` 1
|
|
||||||
where uncurry5 f (a, (b, (c, (d, e)))) = f a b c d e
|
|
||||||
|
|
||||||
-- | Lifts a senary constructor to a list of tiers, given lists of tiers for its arguments.
|
-- | Lifts a senary constructor to a list of tiers, given lists of tiers for its arguments.
|
||||||
--
|
--
|
||||||
-- Commonly used in the definition of 'Listable1' and 'Listable2' instances.
|
-- Commonly used in the definition of 'Listable1' and 'Listable2' instances.
|
||||||
|
Loading…
Reference in New Issue
Block a user