Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit a5a349b

Browse files
author
Patrick Thomson
committed
Remove unused liftCons5 function.
1 parent 669ee58 commit a5a349b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

test/Data/Functor/Listable.hs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,6 @@ liftCons4 :: [Tier a] -> [Tier b] -> [Tier c] -> [Tier d] -> (a -> b -> c -> d -
104104
liftCons4 tiers1 tiers2 tiers3 tiers4 f = mapT (uncurry4 f) (tiers1 >< tiers2 >< tiers3 >< tiers4) `addWeight` 1
105105
where uncurry4 f (a, (b, (c, d))) = f a b c d
106106

107-
-- | Lifts a quinary constructor to a list of tiers, given lists of tiers for its arguments.
108-
--
109-
-- Commonly used in the definition of 'Listable1' and 'Listable2' instances.
110-
_liftCons5 :: [Tier a] -> [Tier b] -> [Tier c] -> [Tier d] -> [Tier e] -> (a -> b -> c -> d -> e -> f) -> [Tier f]
111-
_liftCons5 tiers1 tiers2 tiers3 tiers4 tiers5 f = mapT (uncurry5 f) (tiers1 >< tiers2 >< tiers3 >< tiers4 >< tiers5) `addWeight` 1
112-
where uncurry5 f (a, (b, (c, (d, e)))) = f a b c d e
113-
114107
-- | Lifts a senary constructor to a list of tiers, given lists of tiers for its arguments.
115108
--
116109
-- Commonly used in the definition of 'Listable1' and 'Listable2' instances.

0 commit comments

Comments
 (0)