Conversation
|
Ah,
What do y'all think? |
|
I don't mind dropping GHC < 8.4 |
|
Ah, another pain point: the emulated workflow is gonna require some trickery, since using cabal to install dependencies segfaults due to the memory constraint. I am not familiar enough with it to figure out how to solve this issue; naively, we could download the dependencies from github and copy the sources into the local tree so that the one call to ghc builds everything? |
Yes. See https://github.com/haskell/text/blob/5e57460711a9a5ab7f8a30f0e11cd850018dae70/.github/workflows/emulated.yml#L35-L38 for example. |
|
Some facts about
Point 1 means that if we start depending on My take on it would be the following (essentially don't change a running system):
We could also revisit this once we drop GHC < 8.6. (But I would not drop GHCs just for the sake of this cleanup.) |
|
A compromise could be to make |
This wouldn't fix the issue with GHC < 8.4 though. Sorry for wasting your time everyone: i thought this would be a quick win, but i was wrong. Let's shelve this for now? |
Alex contains a full copy of Ranged-sets-0.3.0. As noted in
NOTE.txt, this was done to reduce the number of dependencies in the Haskell Platform. With the Platform now deprecated, the downsides of maintaining a fork outweigh the advantages. Since there were some local changes, i've opened a PR to upstream the changes to Ranged-sets; they have landed in version 0.5.0.One of the many upsides of not using a fork is that the original library is fully tested, while the tests were removed in the fork, despite some manual changes being introduced.
This PR adds a dependency on
Ranged-sets >= 0.5.0, removes the fork, and deletesNOTE.txt.