projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[project @ 1997-05-26 05:58:06 by sof]
[ghc-hetmet.git]
/
ghc
/
compiler
/
tests
/
reader
/
read002.hs
1
--!!! tests fixity reading and printing
2
module Reader where
3
4
infixl 1 `f`
5
infixr 2 \\\
6
infix 3 :==>
7
infix 4 `MkFoo`
8
9
data Foo = MkFoo Int | Float :==> Double
10
11
x `f` y = x
12
13
(\\\) :: (Eq a) => [a] -> [a] -> [a]
14
(\\\) xs ys = xs