summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/tc073.hs
blob: 44e4129f6a8f773dded783b04293a61b5742baab (plain)
1
2
3
4
5

module ShouldSucceed where

f [] = []
f (x:xs) = x : (f xs)