Skip to content

Commit e3e21db

Browse files
authored
Merge pull request #32 from input-output-hk/erikd/ghc-9.6
Make it compile with ghc-9.6
2 parents a8af24c + 3257f7d commit e3e21db

File tree

9 files changed

+7
-10
lines changed

9 files changed

+7
-10
lines changed

.github/workflows/haskell.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
ghc: ["8.10.7", "9.2.7", "9.4.4"]
14+
ghc: ["8.10.7", "9.2.7", "9.4.4", "9.6.1"]
1515
os: [ubuntu-latest, macos-latest, windows-latest]
1616

1717
env:

cabal.project

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ repository cardano-haskell-packages
1111
d4a35cd3121aa00d18544bb0ac01c3e1691d618f462c46129271bccf39f7e8ee
1212

1313
index-state:
14-
, hackage.haskell.org 2023-04-18T18:49:22Z
15-
, cardano-haskell-packages 2023-03-30T14:04:13Z
14+
, hackage.haskell.org 2023-05-03T10:02:50Z
15+
, cardano-haskell-packages 2023-04-24T15:33:00Z
1616

1717
packages: ./typed-protocols
1818
./typed-protocols-cborg

typed-protocols-cborg/typed-protocols-cborg.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ cabal-version: >=1.10
2121
library
2222
exposed-modules: Network.TypedProtocol.Codec.CBOR
2323

24-
build-depends: base >=4.12 && <4.18,
24+
build-depends: base >=4.12 && <4.20,
2525
bytestring >=0.10 && <0.12,
2626
cborg >=0.2.1 && <0.3,
2727

typed-protocols-examples/src/Network/TypedProtocol/Driver/Simple.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
{-# LANGUAGE RankNTypes #-}
77
{-# LANGUAGE ScopedTypeVariables #-}
88
{-# LANGUAGE TypeFamilies #-}
9-
{-# LANGUAGE TypeInType #-}
109
-- @UndecidableInstances@ extensions is required for defining @Show@ instance
1110
-- of @'TraceSendRecv'@.
1211
{-# LANGUAGE UndecidableInstances #-}

typed-protocols-examples/src/Network/TypedProtocol/ReqResp/Codec.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
{-# LANGUAGE GADTs #-}
44
{-# LANGUAGE KindSignatures #-}
55
{-# LANGUAGE NamedFieldPuns #-}
6+
{-# LANGUAGE PolyKinds #-}
67
{-# LANGUAGE ScopedTypeVariables #-}
7-
{-# LANGUAGE TypeInType #-}
88

99
module Network.TypedProtocol.ReqResp.Codec where
1010

typed-protocols/src/Network/TypedProtocol/Codec.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
{-# LANGUAGE RankNTypes #-}
88
{-# LANGUAGE ScopedTypeVariables #-}
99
{-# LANGUAGE TypeFamilies #-}
10-
{-# LANGUAGE TypeInType #-}
1110
-- @UndecidableInstances@ extension is required for defining @Show@ instance of
1211
-- @'AnyMessage'@ and @'AnyMessageAndAgency'@.
1312
{-# LANGUAGE UndecidableInstances #-}

typed-protocols/src/Network/TypedProtocol/Core.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
{-# LANGUAGE RankNTypes #-}
99
{-# LANGUAGE StandaloneDeriving #-}
1010
{-# LANGUAGE TypeFamilies #-}
11-
{-# LANGUAGE TypeInType #-}
1211

1312

1413
-- | This module defines the core of the typed protocol framework.

typed-protocols/src/Network/TypedProtocol/Driver.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{-# LANGUAGE BangPatterns #-}
2+
{-# LANGUAGE DataKinds #-}
23
{-# LANGUAGE EmptyCase #-}
34
{-# LANGUAGE GADTs #-}
45
{-# LANGUAGE NamedFieldPuns #-}
6+
{-# LANGUAGE PolyKinds #-}
57
{-# LANGUAGE RankNTypes #-}
68
{-# LANGUAGE ScopedTypeVariables #-}
79
{-# LANGUAGE TypeFamilies #-}
8-
{-# LANGUAGE TypeInType #-}
910

1011
-- | Actions for running 'Peer's with a 'Driver'
1112
--

typed-protocols/src/Network/TypedProtocol/Proofs.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
{-# LANGUAGE RecordWildCards #-}
66
{-# LANGUAGE ScopedTypeVariables #-}
77
{-# LANGUAGE TypeFamilies #-}
8-
{-# LANGUAGE TypeInType #-}
98

109

1110
-- This is already implied by the -Wall in the .cabal file, but lets just be

0 commit comments

Comments
 (0)