Skip to content

Commit

Permalink
Merge pull request #91 from asr/ghc-9.10.1
Browse files Browse the repository at this point in the history
Tested with GHC 9.10.1
  • Loading branch information
Yuras authored May 29, 2024
2 parents 51aeefc + 46df890 commit 8b9f226
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
fail-fast: false
matrix:
ghc:
- '9.10'
- '9.8'
- '9.6'
- '9.4'
Expand Down
11 changes: 11 additions & 0 deletions core/compat/Prelude.hs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ module Prelude
#else
Semigroup(..),
#endif

#if MIN_VERSION_base(4,20,0)
#else
foldl',
#endif

)
where

Expand All @@ -18,3 +24,8 @@ import "base" Prelude as P
#else
import Data.Semigroup(Semigroup(..))
#endif

#if MIN_VERSION_base(4,20,0)
#else
import Data.List (foldl')
#endif
1 change: 0 additions & 1 deletion core/lib/Pdf/Core/Parsers/Object.hs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import qualified Pdf.Core.Name as Name
import Pdf.Core.Parsers.Util

import Data.Char
import Data.List
import Data.ByteString (ByteString)
import qualified Data.ByteString as BS
import qualified Data.ByteString.Char8 as BS8
Expand Down

0 comments on commit 8b9f226

Please sign in to comment.