summaryrefslogtreecommitdiff
path: root/testsuite/tests/deSugar/should_compile/ds015.hs
blob: 24645778eed1df08a318178b1bb1a29cf223f18c (plain)
1
2
3
4
5
6
7
8
9
-- !!! ds015 -- lambdas
--
module ShouldCompile where

f x = ( \ x -> x ) x

g x y = ( \ x y -> y x ) ( \ x -> x ) x

h x y = ( \ (x:xs) -> x ) x