projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
bb9e6585b08b69770de2d9cb152095f6abe8bc01
[ghc-hetmet.git]
/
ghc
/
tests
/
reader
/
should_fail
/
read007.hs
1
--!!! Expressions as patterns inside do stmt blocks
2
module ShouldFail where
3
4
f :: Int -> IO Int
5
f x = do
6
(2+2) <- 2
7
return x
8