MicroHs-0.17.4.0 / tests / Bang.hs
module Bang where(!) :: Int -> Int -> Intx ! y = x - yf :: Int -> Intf !x = x+1main = do let !a = 1+2 print a print (2 ! 3) print (2! 3) print (2 !3) print (2!3) print (f 1)
module Bang where(!) :: Int -> Int -> Intx ! y = x - yf :: Int -> Intf !x = x+1main = do let !a = 1+2 print a print (2 ! 3) print (2! 3) print (2 !3) print (2!3) print (f 1)