Closed int-index closed 6 years ago
It is if you want to support GHC version prior to 7.8.1. machines
should compile at the very least with GHC 7.4.2
Isn't it common practice to support only the latest three compiler releases?
I wasn't aware of such practice. Where it comes from ?
Personally, I wouldn't mind. From all the code I have to maintain, the lowest version is 7.10.3. I don't know others' opinion on that matter.
I wasn't aware of such practice. Where it comes from ?
I believe it's the policy used for core libraries, documented here https://prime.haskell.org/wiki/Libraries/3-Release-Policy
The three release policy only concerns how to introduce breaking changes in a way that's compatible with the three most recent versions of GHC. It says nothing about the width of the overall support window (and indeed, most core libraries support back to at least 7.4).
In any case, it doesn't apply here, since machines
is far from a core library.
Aside from compatibility issues, there's also the problem that Is
has Semigroup
and Monoid
instances, but (:~:)
does not. (This has been proposed, but ultimately hasn't been implemented yet.)
The
Is
type from theData.Machine.Is
module isn't necessary with:~:
being inbase
, is it?