module Example(main) where
main :: IO ()
main = do
let x :: Int
(_, x) = (10, 5)
print x
It compiles perfectly well with GHC (with or without the Haskell98 flag), but not with MicroHaskell. If I remove the type signature, it compiles with MicroHaskell.
Consider this program
It compiles perfectly well with GHC (with or without the Haskell98 flag), but not with MicroHaskell. If I remove the type signature, it compiles with MicroHaskell.