diff --git a/.circleci/config.yml b/.circleci/config.yml index 8a7e13a..c63a062 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,6 +8,12 @@ orbs: workflows: multiple-ghc-build: jobs: + - haskell/build-with-binary-cache: + name: GHC 8.2.2 + executor: haskell/ghc-8_2_2 + context: haskell-ci + binary-cache-uri: ${BINARY_CACHE_URI-"http://hw-binary-cache-us-west-2-a.s3-website-us-west-2.amazonaws.com/archive"} + - haskell/build-with-binary-cache: name: GHC 8.4.4 executor: haskell/ghc-8_4_4 @@ -30,6 +36,7 @@ workflows: name: GitHub Release context: haskell-ci requires: + - GHC 8.2.2 - GHC 8.4.4 - GHC 8.6.5 - GHC 8.8.1 diff --git a/hw-streams.cabal b/hw-streams.cabal index 694ca04..f49f637 100644 --- a/hw-streams.cabal +++ b/hw-streams.cabal @@ -26,7 +26,7 @@ flag bounds-checking-enabled manual: False default: False -common base { build-depends: base >= 4.11 && < 5 } +common base { build-depends: base >= 4.10 && < 5 } common bytestring { build-depends: bytestring >= 0.9 && < 0.11 } common criterion { build-depends: criterion >= 1.2 && < 1.6 } diff --git a/src/HaskellWorks/Data/Streams/Stream.hs b/src/HaskellWorks/Data/Streams/Stream.hs index 1bee063..752ce1b 100644 --- a/src/HaskellWorks/Data/Streams/Stream.hs +++ b/src/HaskellWorks/Data/Streams/Stream.hs @@ -6,6 +6,7 @@ module HaskellWorks.Data.Streams.Stream where import Data.Bool +import Data.Monoid ((<>)) import HaskellWorks.Data.Streams.Size import Prelude hiding (drop, foldl, zipWith)