module Data.Strictness.HT where
arguments1 :: (a -> x) -> a -> x
arguments1 f a = f $! a
arguments2 :: (a -> b -> x) -> a -> b -> x
arguments2 f a b = (f $! a) $! b
arguments3 :: (a -> b -> c -> x) -> a -> b -> c -> x
arguments3 f a b c = ((f $! a) $! b) $! c
arguments4 :: (a -> b -> c -> d -> x) -> a -> b -> c -> d -> x
arguments4 f a b c d = (((f $! a) $! b) $! c) $! d
arguments5 :: (a -> b -> c -> d -> e -> x) -> a -> b -> c -> d -> e -> x
arguments5 f a b c d e = ((((f $! a) $! b) $! c) $! d) $! e