I am puzzled by this error:
Module ‘Data.Foldable1.Compat’ does not export ‘Foldable1’
$ cabal build -w ghc-9.2.8
...
src/full/Agda/Syntax/Abstract/Views.hs:10:31: error:
Module ‘Data.Foldable1.Compat’ does not export ‘Foldable1’
|
10 | import Data.Foldable1.Compat (Foldable1(foldMap1)) -- Foldable1 is in base from GHC 9.6 up
| ^^^^^^^^^^^^^^^^^^^
Error: [Cabal-7125]
Failed to build Agda-2.9.0 (which is required by exe:agda-tests from Agda-2.9.0).
$ cabal-plan fingerprint | grep compat
... G base-compat-0.14.1
... G foldable1-classes-compat-0.1.2
Isn't the whole point of the base-compat package to make newer additions to base available on older GHCs?
How can module Data.Foldable1.Compat exist and not export Foldable1?
Looking e.g. at https://hackage.haskell.org/package/base-compat-0.13.1/docs/Data-Foldable1-Compat.html this module seems to export nothing.
(But this package has been created by haddock which is beyond broken so I would not trust anything it claims...)
I am puzzled by this error:
Isn't the whole point of the
base-compatpackage to make newer additions tobaseavailable on older GHCs?How can module
Data.Foldable1.Compatexist and not exportFoldable1?Looking e.g. at https://hackage.haskell.org/package/base-compat-0.13.1/docs/Data-Foldable1-Compat.html this module seems to export nothing.
(But this package has been created by haddock which is beyond broken so I would not trust anything it claims...)