Skip to content

Commit 80c1b5d

Browse files
authored
Merge pull request #1152 from input-output-hk/lc/GHC2021
Upgrade from Haskell2010 to GHC2021
2 parents cc5f100 + 18b1060 commit 80c1b5d

File tree

111 files changed

+29
-414
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+29
-414
lines changed

hydra-cardano-api/hydra-cardano-api.cabal

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -19,45 +19,20 @@ flag hydra-development
1919
manual: True
2020

2121
common project-config
22-
default-language: Haskell2010
22+
default-language: GHC2021
2323
default-extensions:
24-
BangPatterns
25-
BinaryLiterals
26-
ConstraintKinds
2724
DataKinds
2825
DefaultSignatures
2926
DeriveAnyClass
30-
DeriveDataTypeable
31-
DeriveFoldable
32-
DeriveFunctor
33-
DeriveGeneric
34-
DeriveTraversable
3527
DerivingStrategies
36-
EmptyDataDecls
37-
ExistentialQuantification
38-
FlexibleContexts
39-
FlexibleInstances
4028
FunctionalDependencies
4129
GADTs
42-
GeneralizedNewtypeDeriving
43-
InstanceSigs
44-
KindSignatures
4530
LambdaCase
46-
MultiParamTypeClasses
4731
MultiWayIf
48-
NamedFieldPuns
49-
NumericUnderscores
5032
OverloadedStrings
5133
PartialTypeSignatures
52-
PatternGuards
53-
RankNTypes
54-
ScopedTypeVariables
55-
StandaloneDeriving
56-
TupleSections
57-
TypeApplications
34+
PatternSynonyms
5835
TypeFamilies
59-
TypeOperators
60-
TypeSynonymInstances
6136
ViewPatterns
6237

6338
ghc-options:

hydra-cardano-api/src/Hydra/Cardano/Api.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
{-# LANGUAGE PatternSynonyms #-}
2-
31
-- | A Haskell API for Cardano, tailored to the Hydra project.
42
--
53
-- This package provides a wrapper around the @cardano-ledger@, @cardano-api@ and

hydra-cardano-api/src/Hydra/Cardano/Api/AddressInEra.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
{-# LANGUAGE TypeApplications #-}
2-
31
module Hydra.Cardano.Api.AddressInEra where
42

53
import Hydra.Cardano.Api.Prelude

hydra-cardano-api/src/Hydra/Cardano/Api/Tx.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
{-# LANGUAGE TypeApplications #-}
2-
31
module Hydra.Cardano.Api.Tx where
42

53
import Hydra.Cardano.Api.Prelude

hydra-cardano-api/src/Hydra/Cardano/Api/TxOut.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
{-# LANGUAGE TypeApplications #-}
2-
31
module Hydra.Cardano.Api.TxOut where
42

53
import Hydra.Cardano.Api.MultiAssetSupportedInEra (HasMultiAsset (..))

hydra-cardano-api/src/Hydra/Cardano/Api/TxOutDatum.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
{-# LANGUAGE TypeApplications #-}
2-
31
module Hydra.Cardano.Api.TxOutDatum where
42

53
import Hydra.Cardano.Api.Prelude

hydra-cardano-api/src/Hydra/Cardano/Api/Witness.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
{-# LANGUAGE TypeApplications #-}
2-
31
module Hydra.Cardano.Api.Witness where
42

53
import Hydra.Cardano.Api.Prelude

hydra-cluster/bench/Bench/EndToEnd.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
{-# LANGUAGE DeriveAnyClass #-}
21
{-# LANGUAGE DuplicateRecordFields #-}
3-
{-# LANGUAGE TypeApplications #-}
42

53
module Bench.EndToEnd where
64

hydra-cluster/bench/Main.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{-# LANGUAGE DuplicateRecordFields #-}
2-
{-# LANGUAGE TypeApplications #-}
32

43
module Main where
54

hydra-cluster/exe/log-filter/Main.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{-# LANGUAGE TypeApplications #-}
21

32
module Main where
43

0 commit comments

Comments
 (0)