summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/tc027.hs
blob: 6edc01b619fc0154b767f4f787698407d9505ad4 (plain)
1
2
3
4
5
module ShouldSucceed where

h x = f (f True x) x 
f x y = if x then y else (g y x)
g y x = if x then y else (f x y)