Skip to content

Commit 2420e11

Browse files
committed
Remove ghc-prim dependency
1 parent da078d8 commit 2420e11

File tree

2 files changed

+12
-20
lines changed

2 files changed

+12
-20
lines changed

Data/IntSet/Internal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ import GHC.Exts (Int(..), build)
219219
#if __GLASGOW_HASKELL__ >= 708
220220
import qualified GHC.Exts as GHCExts
221221
#endif
222-
import GHC.Prim (indexInt8OffAddr#)
222+
import GHC.Exts (indexInt8OffAddr#)
223223
#endif
224224

225225
import qualified Data.Foldable as Foldable

containers.cabal

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ source-repository head
4141

4242
Library
4343
build-depends: base >= 4.6 && < 5, array >= 0.4.0.0, deepseq >= 1.2 && < 1.5
44-
if impl(ghc)
45-
build-depends: ghc-prim
4644

4745
ghc-options: -O2 -Wall
4846

@@ -221,8 +219,7 @@ benchmark lookupge-intmap
221219
base >= 4.6 && < 5,
222220
containers,
223221
gauge >= 0.2.3 && < 0.3,
224-
deepseq >= 1.1.0.0 && < 1.5,
225-
ghc-prim
222+
deepseq >= 1.1.0.0 && < 1.5
226223

227224
benchmark lookupge-map
228225
type: exitcode-stdio-1.0
@@ -250,8 +247,7 @@ benchmark lookupge-map
250247
base >= 4.6 && < 5,
251248
containers,
252249
gauge >= 0.2.3 && < 0.3,
253-
deepseq >= 1.1.0.0 && < 1.5,
254-
ghc-prim
250+
deepseq >= 1.1.0.0 && < 1.5
255251

256252
-------------------
257253
-- T E S T I N G --
@@ -280,7 +276,7 @@ Test-suite map-lazy-properties
280276
type: exitcode-stdio-1.0
281277
cpp-options: -DTESTING
282278

283-
build-depends: base >= 4.6 && < 5, array >= 0.4.0.0, deepseq >= 1.2 && < 1.5, ghc-prim
279+
build-depends: base >= 4.6 && < 5, array >= 0.4.0.0, deepseq >= 1.2 && < 1.5
284280
ghc-options: -O2
285281
other-extensions: CPP, BangPatterns
286282
include-dirs: include
@@ -314,7 +310,7 @@ Test-suite map-strict-properties
314310
type: exitcode-stdio-1.0
315311
cpp-options: -DTESTING -DSTRICT
316312

317-
build-depends: base >= 4.6 && < 5, array >= 0.4.0.0, deepseq >= 1.2 && < 1.5, ghc-prim
313+
build-depends: base >= 4.6 && < 5, array >= 0.4.0.0, deepseq >= 1.2 && < 1.5
318314
ghc-options: -O2
319315
other-extensions: CPP, BangPatterns
320316
include-dirs: include
@@ -336,7 +332,7 @@ Test-suite bitqueue-properties
336332
type: exitcode-stdio-1.0
337333
cpp-options: -DTESTING
338334

339-
build-depends: base >= 4.6 && < 5, ghc-prim
335+
build-depends: base >= 4.6 && < 5
340336
ghc-options: -O2
341337
other-extensions: CPP, BangPatterns
342338
include-dirs: include
@@ -360,7 +356,7 @@ Test-suite set-properties
360356
type: exitcode-stdio-1.0
361357
cpp-options: -DTESTING
362358

363-
build-depends: base >= 4.6 && < 5, array >= 0.4.0.0, deepseq >= 1.2 && < 1.5, ghc-prim
359+
build-depends: base >= 4.6 && < 5, array >= 0.4.0.0, deepseq >= 1.2 && < 1.5
364360
ghc-options: -O2
365361
other-extensions: CPP, BangPatterns
366362
include-dirs: include
@@ -390,7 +386,7 @@ Test-suite intmap-lazy-properties
390386
type: exitcode-stdio-1.0
391387
cpp-options: -DTESTING
392388

393-
build-depends: base >= 4.6 && < 5, array >= 0.4.0.0, deepseq >= 1.2 && < 1.5, ghc-prim
389+
build-depends: base >= 4.6 && < 5, array >= 0.4.0.0, deepseq >= 1.2 && < 1.5
394390
ghc-options: -O2
395391
other-extensions: CPP, BangPatterns
396392
include-dirs: include
@@ -420,7 +416,7 @@ Test-suite intmap-strict-properties
420416
type: exitcode-stdio-1.0
421417
cpp-options: -DTESTING -DSTRICT
422418

423-
build-depends: base >= 4.6 && < 5, array >= 0.4.0.0, deepseq >= 1.2 && < 1.5, ghc-prim
419+
build-depends: base >= 4.6 && < 5, array >= 0.4.0.0, deepseq >= 1.2 && < 1.5
424420
ghc-options: -O2
425421
other-extensions: CPP, BangPatterns
426422
include-dirs: include
@@ -447,7 +443,7 @@ Test-suite intset-properties
447443
type: exitcode-stdio-1.0
448444
cpp-options: -DTESTING
449445

450-
build-depends: base >= 4.6 && < 5, array >= 0.4.0.0, deepseq >= 1.2 && < 1.5, ghc-prim
446+
build-depends: base >= 4.6 && < 5, array >= 0.4.0.0, deepseq >= 1.2 && < 1.5
451447
ghc-options: -O2
452448
other-extensions: CPP, BangPatterns
453449
include-dirs: include
@@ -472,7 +468,7 @@ Test-suite seq-properties
472468
type: exitcode-stdio-1.0
473469
cpp-options: -DTESTING
474470

475-
build-depends: base >= 4.6 && < 5, array >= 0.4.0.0, deepseq >= 1.2 && < 1.5, ghc-prim
471+
build-depends: base >= 4.6 && < 5, array >= 0.4.0.0, deepseq >= 1.2 && < 1.5
476472
ghc-options: -O2
477473
other-extensions: CPP, BangPatterns
478474
include-dirs: include
@@ -496,7 +492,7 @@ Test-suite tree-properties
496492
type: exitcode-stdio-1.0
497493
cpp-options: -DTESTING
498494

499-
build-depends: base >= 4.6 && < 5, array >= 0.4.0.0, deepseq >= 1.2 && < 1.5, ghc-prim
495+
build-depends: base >= 4.6 && < 5, array >= 0.4.0.0, deepseq >= 1.2 && < 1.5
500496
ghc-options: -O2
501497
other-extensions: CPP, BangPatterns
502498
include-dirs: include
@@ -531,7 +527,6 @@ test-suite map-strictness-properties
531527
ChasingBottoms,
532528
deepseq >= 1.2 && < 1.5,
533529
QuickCheck >= 2.7.1,
534-
ghc-prim,
535530
test-framework >= 0.3.3,
536531
test-framework-quickcheck2 >= 0.2.9
537532

@@ -560,7 +555,6 @@ test-suite intmap-strictness-properties
560555
ChasingBottoms,
561556
deepseq >= 1.2 && < 1.5,
562557
QuickCheck >= 2.7.1,
563-
ghc-prim,
564558
test-framework >= 0.3.3,
565559
test-framework-quickcheck2 >= 0.2.9
566560

@@ -585,7 +579,6 @@ test-suite intset-strictness-properties
585579
ChasingBottoms,
586580
deepseq >= 1.2 && < 1.5,
587581
QuickCheck >= 2.7.1,
588-
ghc-prim,
589582
test-framework >= 0.3.3,
590583
test-framework-quickcheck2 >= 0.2.9
591584

@@ -605,7 +598,6 @@ test-suite listutils-properties
605598
ChasingBottoms,
606599
deepseq >= 1.2 && < 1.5,
607600
QuickCheck >= 2.7.1,
608-
ghc-prim,
609601
test-framework >= 0.3.3,
610602
test-framework-quickcheck2 >= 0.2.9
611603

0 commit comments

Comments
 (0)