49853a74cfbffdaf75c20472f30c5d7e267aad0f
[ghc-hetmet.git] / ghc / compiler / tests / reader / expr001.hs
1 {-
2 From: Kevin Hammond <kh>
3 To: partain
4 Subject: Re:  parsing problem w/ queens
5 Date: Wed, 9 Oct 91 17:31:46 BST
6
7 OK, I've fixed that little problem by disallowing,
8 -}
9
10 f x = x + if c then 1 else 2
11 f x = x + 1::Int
12
13 -- (the conditional/sig need to be parenthesised).  If this is
14 -- problematic, let me know!