Closed andreasabel closed 1 year ago
@Ericson2314 : If you want a quick look...
This PR raises to bar to build alex
to GHC 8 for the sake of using Data.List.NonEmpty
. The latter helps to properly address the new x-partial
warnings for head
and tail
in GHC 9.8.
On the way, I could get rid of pre-containers
legacy modules (Set
, Map
, Sort
). We are using containers
already so this is not a big step.
Not sure if anyone cares about GHC 7 builds. One could take an older version of alex
if one wants to do archeology...
To commits are to be merged as such. I'll merge and release then...
This addresses the
-x-partial
warning where feasible, usingData.List.NonEmpty
. This is an incentive to move to GHC 8 which first had this module inbase
. Thus, GHC 7 will be dropped.TODO:
#if
sContent:
x-partial
warning of GHC 9.8Map
,Set
,Sort
Candidate at: https://hackage.haskell.org/package/alex-3.4.0.1/candidate Docs at: https://haskell-alex--247.org.readthedocs.build/en/247/