summaryrefslogtreecommitdiff
path: root/testsuite/tests/deSugar/should_compile/ds023.hs
blob: 736107d9798c1617cc4b34c74d43c32264c22e64 (plain)
1
2
3
4
5
6
7
-- !!! ds023 -- overloading eg from section 9.2
--
module ShouldCompile where

f x	= g (x == x) x
g b x	= abs (f x)
--g b x	= (f x) + (f x)