Open Pieter-JanLavaerts opened 7 months ago
I just saw the PR to support a newer GHC version why hasn't in been merged yet?
Not in scope: type constructor or class ‘Option’
Thank you for reporting this. I am clearly missing an upper bound on one of my dependencies, now I need to figure out which one.
I just saw the PR to support a newer GHC version why hasn't in been merged yet?
The main reason is that I don't have a lot of time for open source projects anymore. Looking at that PR specifically, it looks like I was not able to get CI to pass for that MR. I am not able to get CI to pass for the main
branch either anymore, perhaps because of the missing upper bound?
Good news! #267 has already fixed the issue with Not in scope: type constructor or class ‘Option’
, so I just need to release a new version to hackage!
I am clearly missing an upper bound on one of my dependencies, now I need to figure out which one.
Data.Semigroup.Option
is from base
. It has been removed in ghc-9.2.
https://hackage.haskell.org/package/base-4.15.1.0/docs/Data-Semigroup.html#t:Option
as one might expect from that, cabal install haskell-awk
works when ghcup is set to ghc-9.0.2 (base-4.15.1.0), but fails with ghc-9.2.1 (base-4.16.0.0). Thus, the missing upper bound is base < 4.16
.
the revision has been published, cabal install haskell-awk
now correctly fails with Could not resolve dependencies
instead of Not in scope: type constructor or class ‘Option’
. I have not yet published the version which includes #267, because I have run out of time for open source work for today, oh well.
versions
stack install
cabal install