Closed ysangkok closed 4 months ago
Fixed
It doesn't seem to actually work... I still get the same error message. On 291aa53d5681b9b64f428bd7a8a581cac1de41c1 compiled with GHC.
It works for me
...
Type ':quit' to quit, ':help' for help
> data A = A deriving (Eq, Ord)
> data B = B deriving (Eq, Ord)
> compare (Right A) (Left B)
GT
>
Ah. My error was that I didn't reinstall the installed standard library in /usr/local/lib
. Issue resolved now, many thanks.
This instance is available in GHC since base-2.1, so I was hoping to find it in MicroHs too. But it doesn't seem to be there:
In GHC 9.10.1 this works: