Skip to content

Commit a8c6208

Browse files
committed
master GHC2024 and remove redundant LANGUAGE pragmas
1 parent 3218a93 commit a8c6208

Some content is hidden

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

50 files changed

+108
-279
lines changed

Data/Attoparsec.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
-- | 'parseOnly' | 'parseOnlyBack' |
1010
-- +-------------------------+-------------------------+
1111
--
12-
{-# LANGUAGE TemplateHaskell #-}
1312
module Data.Attoparsec (module Data.Attoparsec.ByteString) where
1413
import Haddock.UseRefs
1514
import Data.Attoparsec.ByteString.Lazy (parseOnlyBack)

Data/Attoparsec/ByteString.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
{-# LANGUAGE CPP #-}
2-
{-# LANGUAGE FlexibleContexts #-}
31
#if __GLASGOW_HASKELL__ >= 702
4-
{-# LANGUAGE Trustworthy #-}
52
#endif
63
-- |
74
-- Module : Data.Attoparsec.ByteString

Data/Attoparsec/ByteString/Char8.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{-# OPTIONS_GHC -fno-warn-orphans #-}
2-
{-# LANGUAGE BangPatterns, FlexibleInstances, ConstraintKinds, FlexibleContexts, LambdaCase #-}
32

43
-- |
54
-- Module : Data.Attoparsec.ByteString.Char8

Data/Attoparsec/ByteString/Internal.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
{-# LANGUAGE BangPatterns, CPP, GADTs, OverloadedStrings, RankNTypes,
2-
RecordWildCards, TypeApplications, ScopedTypeVariables, KindSignatures,
3-
DataKinds, FlexibleContexts, PolyKinds, ConstraintKinds, FlexibleInstances #-}
41
-- |
52
-- Module : Data.Attoparsec.ByteString.Internal
63
-- Copyright : Bryan O'Sullivan 2007-2015

Data/Attoparsec/ByteString/Lazy.hs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
{-# LANGUAGE CPP #-}
2-
{-# LANGUAGE ConstraintKinds #-}
3-
{-# LANGUAGE DataKinds #-}
4-
{-# LANGUAGE FlexibleContexts #-}
5-
{-# LANGUAGE TypeApplications #-}
6-
{-# LANGUAGE ScopedTypeVariables #-}
71
#if __GLASGOW_HASKELL__ >= 702
8-
{-# LANGUAGE Trustworthy #-} -- Imports internal modules
92
#endif
103

114
-- |

Data/Attoparsec/Combinator.hs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
{-# LANGUAGE BangPatterns, CPP, DataKinds #-}
2-
{-# LANGUAGE KindSignatures #-}
3-
{-# LANGUAGE MultiParamTypeClasses #-}
4-
{-# LANGUAGE FlexibleInstances #-}
51
#if __GLASGOW_HASKELL__ >= 702
6-
{-# LANGUAGE Trustworthy #-} -- Imports internal modules
72
#endif
83
-- |
94
-- Module : Data.Attoparsec.Combinator

Data/Attoparsec/Internal.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{-# LANGUAGE BangPatterns, CPP, ScopedTypeVariables, DataKinds, TypeApplications, FlexibleContexts, IncoherentInstances #-}
21
-- |
32
-- Module : Data.Attoparsec.Internal
43
-- Copyright : Bryan O'Sullivan 2007-2015

Data/Attoparsec/Internal/Types.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
{-# LANGUAGE CPP, BangPatterns, GeneralizedNewtypeDeriving, OverloadedStrings,
2-
Rank2Types, RecordWildCards, TypeFamilies, DataKinds, TypeApplications,
3-
MultiParamTypeClasses, FlexibleContexts, FlexibleInstances #-}
41
-- |
52
-- Module : Data.Attoparsec.Internal.Types
63
-- Copyright : Bryan O'Sullivan 2007-2015

Data/Attoparsec/Number.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{-# LANGUAGE DeriveDataTypeable #-}
21
-- |
32
-- Module : Data.Attoparsec.Number
43
-- Copyright : Bryan O'Sullivan 2007-2015

Data/Attoparsec/Text.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
{-# LANGUAGE BangPatterns, CPP, FlexibleInstances, TypeSynonymInstances #-}
21
#if __GLASGOW_HASKELL__ >= 702
3-
{-# LANGUAGE Trustworthy #-} -- Imports internal modules
42
#endif
53
{-# OPTIONS_GHC -fno-warn-warnings-deprecations #-}
64

0 commit comments

Comments
 (0)