Resolving dependencies... Configuring either-both-0.1.0.0... Building either-both-0.1.0.0... Failed to install either-both-0.1.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.2.2/either-both-0.1.0.0-EvVgxsu0osi5y0gt0h07o4.log ): cabal: Entering directory '/tmp/cabal-tmp-5260/either-both-0.1.0.0' Configuring either-both-0.1.0.0... Preprocessing library for either-both-0.1.0.0.. Building library for either-both-0.1.0.0.. [1 of 1] Compiling Data.Either.Both ( Data/Either/Both.hs, dist/build/Data/Either/Both.o ) Data/Either/Both.hs:37:40: error: Not in scope: type constructor or class ‘Semigroup’ | 37 | instance (Semigroup a, Semigroup b) => Semigroup (Either' a b) where | ^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-5260/either-both-0.1.0.0' cabal: Error: some packages failed to install: either-both-0.1.0.0-EvVgxsu0osi5y0gt0h07o4 failed during the building phase. The exception was: ExitFailure 1