Import Multiplicity from GHC.Types#509
Conversation
This fixes compatibility with GHC 9.2, which did not yet export Multiplicity from GHC.Exts.
|
Does linear-base even compile with GHC 9.2 (other than this infelicity?). I confess that I'm rather a burn-bridges kind of person, and I tend to drop support for old versions as soon as they become inconvenient. I agree that it's better to be uniform, but on the other hand, On the other other hand, I assume that this pull request comes from a need. Could you elaborate the need a little? |
|
For me personally, it doesn't matter if you fix the import or increase your lower bound on I operate the playground and had to rebuild the package set for GHC 9.2; my script happily told me that I appreciate your arguments, but |
aspiwack
left a comment
There was a problem hiding this comment.
This is fair enough. I'm really surprised that we don't have more incompatibilities with GHC 8.2, though.
|
Published as 0.8.1 https://hackage.haskell.org/package/linear-base-0.8.1 I should have done this earlier, sorry, it skipped my mind for some reason. |
GHC 9.2 did not yet export Multiplicity from GHC.Exts. The rest of the repository imports Multiplicity from ghc-prim:GHC.Types, from which the type has always been exported, but this one occurrence in Control.Functor.Linear.Internal.Reader didn't.