Skip to content

Commit 5d41995

Browse files
Support GHC 9.8 and 9.10
1 parent 2edbda9 commit 5d41995

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ jobs:
6262
- "9.2.8"
6363
- "9.4.8"
6464
- "9.6.4"
65+
- "9.8.4"
66+
- "9.10.1"
6567

6668
env:
6769
clash_version: ${{ matrix.clash }}

cabal.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ package clash-prelude
1414
source-repository-package
1515
type: git
1616
location: https://github.com/cchalmers/circuit-notation.git
17-
tag: 19b386c4aa3ff690758ae089c7754303f3500cc9
17+
tag: 564769c52aa05b90f81bbc898b7af7087d96613d
1818

1919
package clash-protocols-base
2020
-- Reduces compile times by ~20%

clash-protocols-base/clash-protocols-base.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ library
104104
, circuit-notation
105105
, deepseq
106106
, extra
107-
, ghc >= 8.7 && < 9.7
107+
, ghc >= 8.7 && < 9.11
108108
, hashable
109109
, tagged
110110
, template-haskell

clash-protocols/clash-protocols.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ library
120120
, data-default ^>= 0.7.1.1
121121
, deepseq
122122
, extra
123-
, ghc >= 8.7 && < 9.7
123+
, ghc >= 8.7 && < 9.11
124124
, hashable
125125
, hedgehog >= 1.0.2
126126
, lifted-async

clash-protocols/src/Protocols/Df.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ import Prelude hiding (
114114
import qualified Data.Bifunctor as B
115115
import Data.Bool (bool)
116116
import qualified Data.Coerce as Coerce
117+
import qualified Data.Functor as Functor
117118
import Data.Kind (Type)
118119
import Data.List ((\\))
119-
import qualified Data.List.NonEmpty
120120
import qualified Data.Maybe as Maybe
121121
import Data.Proxy
122122
import qualified Prelude as P
@@ -862,7 +862,7 @@ roundrobinCollect Parallel =
862862
nacks = C.repeat (Ack False)
863863
acks = Maybe.fromMaybe nacks ((\i -> C.replace i ack nacks) <$> iM)
864864
dat1 = Maybe.fromMaybe NoData dat0
865-
(iM, dat0) = Data.List.NonEmpty.unzip dats1
865+
(iM, dat0) = Functor.unzip dats1
866866
dats1 = C.fold @(n C.- 1) (<|>) (C.zipWith goDat C.indicesI dats0)
867867

868868
goDat i dat

clash-protocols/src/Protocols/Internal.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
{-# LANGUAGE TypeFamilyDependencies #-}
77
{-# LANGUAGE UndecidableInstances #-}
88
{-# OPTIONS_GHC -fconstraint-solver-iterations=20 #-}
9-
#if !MIN_VERSION_clash_prelude(1, 8, 2)
109
{-# OPTIONS_GHC -fno-warn-orphans #-}
11-
#endif
1210

1311
-- TODO: Hide internal documentation
1412
-- {-# OPTIONS_HADDOCK hide #-}

0 commit comments

Comments
 (0)