summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/tc067.hs
blob: 853caf308f7bb8b524decdec5ee2fa59af1ccbde (plain)
1
2
3
4
module ShouldSucceed where

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