Closed ysangkok closed 1 month ago
Is this just !, or any operator?
Ah, right. It's just !
. So it might be a clash with the Prelude, I suppose. Seems like GHC 9.6 doesn't have this function in the Prelude somehow.
The problem is that ! needs special hacks since it's also used for BangPatterns. I'll see if I can fix it.
Fixed. Note that
x ! y = ...
and
x !y = ...
do very different things. Haskell lexing is messy. :)
This works:
But this doesn't:
The error is:
It works with
ghc-9.6 -c Infix.hs
.MicroHs version is: