Why does MIN_VERSION_GLASGOW_HASKELL not work in GHC 9.2?
Per GHC guide we expect the MIN_VERSION_GLASGOW_HASKELL(x,y,z,z')
CPP to work on the corresponding GHC version. However, the following fails to compile on GHC 9.2
#if MIN_VERSION_GLASGOW_HASKELL(9,2,1,0)
What's happening here?
To resolve this, I find myself using:
#if MIN_VERSION_base(4,16,0)
But why would MIN_VERSION_GLASGOW_HASKELL
not work?
from Recent Questions - Stack Overflow https://ift.tt/umJrpUQ
https://ift.tt/MxeJQ45
Comments
Post a Comment