HaRe-0.8.3.0: test/testdata/RmOneParameter/SubFun1.hs
module SubFun1 where
--Any unused parameter to a definition can be removed.
--In this example: remove x. The brackets enclosing 'foo' will also be removed.
main :: Int
main = (foo 4) + (foo 5)
where
foo x = h + t where (h,t) = head $ zip [1..10] [3..10]