MicroHs-0.17.4.0 / tests / LocalFix.hs
module LocalFix wheremain :: IO ()main = do let (.-) :: Int -> Int -> Int (.-) = (-) x = 1 .- 2 .- 3 print x let infixr .- (.-) :: Int -> Int -> Int (.-) = (-) x = 1 .- 2 .- 3 print x
module LocalFix wheremain :: IO ()main = do let (.-) :: Int -> Int -> Int (.-) = (-) x = 1 .- 2 .- 3 print x let infixr .- (.-) :: Int -> Int -> Int (.-) = (-) x = 1 .- 2 .- 3 print x