packages feed

const-math-ghc-plugin-0.2.0.0: tests/numrun010.hs

-- !!! 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