haskell-compat / base-compat

A compatibility layer for base
http://hackage.haskell.org/package/base-compat
19 stars 12 forks source link

base-compat < 0.12 need base < 4.16 revisions #78

Closed Bodigrim closed 3 years ago

Bodigrim commented 3 years ago
$ cabal unpack base-compat-0.11.2
$ cd base-compat-0.11.2
$ cabal build -w ghc-9.2
Build profile: -w ghc-9.2.0.20210821 -O1
In order, the following will be built (use -v for more details):
 - base-compat-0.11.2 (lib) (first run)
Preprocessing library for base-compat-0.11.2..
Building library for base-compat-0.11.2..
[ 63 of 118] Compiling Data.Semigroup.Compat ( src/Data/Semigroup/Compat.hs, /private/tmp/base-compat-0.11.2/dist-newstyle/build/x86_64-osx/ghc-9.2.0.20210821/base-compat-0.11.2/build/Data/Semigroup/Compat.o, /private/tmp/base-compat-0.11.2/dist-newstyle/build/x86_64-osx/ghc-9.2.0.20210821/base-compat-0.11.2/build/Data/Semigroup/Compat.dyn_o )

src/Data/Semigroup/Compat.hs:25:5: error:
    Not in scope: type constructor or class ‘Option’
   |
25 |   , Option(..)
   |     ^^^^^^^^^^

src/Data/Semigroup/Compat.hs:26:5: error: Not in scope: ‘option’
   |
26 |   , option
   |     ^^^^^^
RyanGlScott commented 3 years ago

I've applied Hackage revisions for all releases from 0.10.0 (which introduced Data.Semigroup.Compat) through 0.11.2.