lhc-0.10: tests/2_language/NoMonomorphism.hs
{-# LANGUAGE NoMonomorphismRestriction #-}
{-# LHC_OPTIONS -fno-monomorphism-restriction #-}
x = 234
y = 15
main = do print (x `mod` y)
print (x / y)
print (x ** (-y))
{-# LANGUAGE NoMonomorphismRestriction #-}
{-# LHC_OPTIONS -fno-monomorphism-restriction #-}
x = 234
y = 15
main = do print (x `mod` y)
print (x / y)
print (x ** (-y))