summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/tc038.hs
blob: d404ee69132bb3ced15488a80b33b9630ac21c7e (plain)
1
2
3
module ShouldSucceed where

f (x:xs) = if (x == (fromInteger 2)) then xs else []