ref: 6dd14a51e82d8586f9eca77443e01dc5990c0a2e
dir: /tests/Infix.hs/
module Infix(main) where import Prelude infix 1 === infixl 2 +++ infixr 3 &&& (===) :: Int -> Int -> Bool x === y = x == y+1 (+++) :: Int -> Int -> Int a +++ b = a + b + 1 (&&&) :: Int -> Int -> Int a &&& b = a * (b + 1) main :: IO () main = do putStrLn $ show $ 2 +++ 3 &&& 4 === 17