summaryrefslogtreecommitdiff
path: root/testsuite/tests/deSugar/should_compile/ds023.hs
blob: e4cd3aa9c2581c63e6a258ccdcfaf90a5ff5d33a (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)