summaryrefslogtreecommitdiff
path: root/ghc/compiler/tests/typecheck/should_succeed/tc073.hs
blob: ea4cb74675cd37584df9192188e4dd1be8439f2a (plain)
1
2
3
4
5

module ShouldSucc where

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