Commit 7f2cd04d authored by simonpj's avatar simonpj

[project @ 2000-03-09 13:31:54 by simonpj]

Add fixity tests
parent 93522b22
-- !!! tests that local fixity declarations work
-- If local fixity decls don't work you get "14"
-- The right answer is "11"
val = 3 +! 4 *! 2
where (+!) = (+)
(*!) = (*)
infixl 6 +!
infixl 7 *!
main = print val
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment