Skip to content

Commit 11a8ed5

Browse files
committed
master GHC-9.12.2
1 parent a8c6208 commit 11a8ed5

File tree

13 files changed

+29
-29
lines changed

13 files changed

+29
-29
lines changed

Data/Attoparsec/ByteString/Char8.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,12 @@ module Data.Attoparsec.ByteString.Char8
130130

131131
import Control.Applicative (Alternative ((<|>)))
132132
import Control.Monad (void, when)
133-
import Debug.TraceEmbrace
133+
import Debug.TraceEmbrace ( tw )
134134
import Data.Attoparsec.ByteString.FastSet (charClass, memberChar)
135135
import Data.Attoparsec.ByteString.Internal (DirParser, Parser, BackParser, DirectedTuple (..))
136136
import Data.Attoparsec.Combinator
137+
( many1', many', many1, try, (<?>), choice, option, sepBy, sepBy', sepBy1,
138+
sepBy1', manyTill, manyTill', skipMany, skipMany1, count, eitherP )
137139
import Data.Bits (Bits, (.|.), shiftL)
138140
import Data.ByteString.Internal (c2w, w2c)
139141
import Data.Int (Int8, Int16, Int32, Int64)

Data/Attoparsec/ByteString/Internal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ import Data.List (intercalate)
9696
import Data.Tagged (Tagged(..), untag)
9797
import Data.Tuple (swap)
9898
import Data.Word (Word8)
99-
import Debug.TraceEmbrace
99+
import Debug.TraceEmbrace ( tr, tw )
100100
import qualified Foreign.ForeignPtr as FP
101101
import Foreign.Ptr (Ptr, castPtr)
102102
import qualified Foreign.Ptr as FP

Data/Attoparsec/Internal/Types.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ import Data.Tagged (Tagged(..), untag)
4545
import Data.Text (Text)
4646
import qualified Data.Text as Text
4747
import Data.Text.Unsafe (Iter(..))
48-
import Debug.TraceEmbrace
48+
import Debug.TraceEmbrace (tw)
4949
import Prelude hiding (succ)
5050
import Data.Attoparsec.ByteString.Buffer (Dir (..))
5151
import qualified Data.Attoparsec.ByteString.Buffer as B

Data/Attoparsec/Number.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ module Data.Attoparsec.Number
2323
import Control.DeepSeq (NFData(rnf))
2424
import Data.Data (Data)
2525
import Data.Function (on)
26-
import Data.Typeable (Typeable)
2726

2827
-- | A numeric type that can represent integers accurately, and
2928
-- floating point numbers to the precision of a 'Double'.
@@ -32,7 +31,7 @@ import Data.Typeable (Typeable)
3231
-- major release. Use the 'Data.Scientific.Scientific' type instead.
3332
data Number = I !Integer
3433
| D {-# UNPACK #-} !Double
35-
deriving (Typeable, Data)
34+
deriving (Data)
3635
{-# DEPRECATED Number "Use Scientific instead." #-}
3736

3837
instance Show Number where

attoparsec-isotropic.cabal

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 3.0
22
name: attoparsec-isotropic
3-
version: 0.14.4
3+
version: 0.14.5
44
license: BSD-3-Clause
55
license-file: LICENSE
66
category: Text, Parsing
@@ -71,7 +71,7 @@ description:
7171
> go (Just (unconsumed, iBlock')) unconsumed
7272

7373
tested-with:
74-
GHC == 9.10.1
74+
GHC == 9.10.1, GHC == 9.12.2
7575

7676
extra-source-files:
7777
benchmarks/*.txt
@@ -112,7 +112,7 @@ common base
112112
, semigroups < 0.21
113113
, tagged < 1
114114
, text < 3
115-
, trace-embrace < 3
115+
, trace-embrace >= 1.2 && < 3
116116
, transformers < 1
117117

118118
-- We need to test and benchmark these modules,

attoparsec-isotropic.cabal.template

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 3.0
22
name: attoparsec-isotropic
3-
version: 0.14.4
3+
version: 0.14.5
44
license: BSD-3-Clause
55
license-file: LICENSE
66
category: Text, Parsing
@@ -14,7 +14,7 @@ build-type: Simple
1414
description:
1515

1616
tested-with:
17-
GHC == 9.10.1
17+
GHC == 9.10.1, GHC == 9.12.2
1818

1919
extra-source-files:
2020
benchmarks/*.txt
@@ -55,7 +55,7 @@ common base
5555
, semigroups < 0.21
5656
, tagged < 1
5757
, text < 3
58-
, trace-embrace < 3
58+
, trace-embrace >= 1.2 && < 3
5959
, transformers < 1
6060

6161
-- We need to test and benchmark these modules,

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# 0.14.5
2+
3+
* Fork from attoparsec
4+
* Clean support of GHC-9.12.2
5+
16
# 0.14.4
27

38
* Fix a segmentation fault when built against `text-2.0`

default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{ system ? builtins.currentSystem or "x86_64-linux"
2-
, ghc ? "ghc9101"
2+
, ghc ? "ghc9122"
33
}:
44

55
let

internal/Data/Attoparsec/ByteString/Buffer.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@ import Control.Exception (assert)
6363
import Data.ByteString.Internal (ByteString(..), nullForeignPtr)
6464
import qualified Data.ByteString as B
6565
import Data.Attoparsec.Internal.Fhthagn (inlinePerformIO)
66-
import Data.Attoparsec.Internal.Compat
66+
import Data.Attoparsec.Internal.Compat ( mkPS, withPS )
6767
import Data.List (foldl1')
6868
import Data.Monoid as Mon (Monoid(..))
69-
import Data.Proxy
69+
import Data.Proxy ( Proxy )
7070
#if !MIN_VERSION_base(4,20,0)
7171
import Data.Semigroup (Semigroup(..))
7272
#endif
7373
import Data.Word (Word8)
74-
import Debug.TraceEmbrace
74+
import Debug.TraceEmbrace ( tr, tw', ShowTrace(ShowTrace) )
7575
import Foreign.ForeignPtr (ForeignPtr, withForeignPtr)
7676
import Foreign.Marshal.Utils (copyBytes)
7777
import Foreign.Ptr (castPtr, plusPtr)

internal/Data/Attoparsec/Text/Buffer.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ import Data.Text.Internal.Unsafe.Char (unsafeChr)
5252
import Data.Text.Unsafe (lengthWord16)
5353
#endif
5454
import Data.Text.Unsafe (Iter(..))
55-
import Debug.TraceEmbrace
55+
import Debug.TraceEmbrace ( ShowTrace(ShowTrace) )
5656
import Foreign.Storable (sizeOf)
5757
import GHC.Exts (Int(..), indexIntArray#, unsafeCoerce#, writeIntArray#)
5858
import GHC.ST (ST(..), runST)

0 commit comments

Comments
 (0)