projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[project @ 2001-05-04 14:53:44 by simonpj]
[ghc-hetmet.git]
/
ghc
/
tests
/
etc
/
testmatches.hs
1
-- matches
2
-----
3
f x = case x of
4
True -> True
5
False -> x
6
7
-----
8
9
f ((x:a),y) = x
10
f (a,b) = 2
11
12
-----