Skip to content

Commit f7d2d4f

Browse files
authored
define NOT_VECTOR_MODULE is not used anywhere (#546)
1 parent c1ec990 commit f7d2d4f

File tree

9 files changed

+0
-18
lines changed

9 files changed

+0
-18
lines changed

vector/src/Data/Vector/Fusion/Bundle.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,6 @@ import Prelude
9797
import Data.Functor.Classes (Eq1 (..), Ord1 (..))
9898
import GHC.Base ( build )
9999

100-
-- Data.Vector.Internal.Check is unused
101-
#define NOT_VECTOR_MODULE
102100
#include "vector.h"
103101

104102
-- | The type of pure streams

vector/src/Data/Vector/Generic/Mutable/Base.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ module Data.Vector.Generic.Mutable.Base (
2222

2323
import Control.Monad.ST
2424

25-
-- Data.Vector.Internal.Check is unused
26-
#define NOT_VECTOR_MODULE
2725
#include "vector.h"
2826

2927
-- | Class of mutable vectors parameterised with a primitive state token.

vector/src/Data/Vector/Generic/New.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ import Prelude
4444
, return, seq
4545
, (.), (=<<) )
4646

47-
-- Data.Vector.Internal.Check is unused
48-
#define NOT_VECTOR_MODULE
4947
#include "vector.h"
5048

5149
-- | This data type is a wrapper around a monadic action which produces

vector/src/Data/Vector/Primitive/Mutable.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@ import Prelude
9090
import Data.Coerce
9191
import Unsafe.Coerce
9292

93-
-- Data.Vector.Internal.Check is unnecessary
94-
#define NOT_VECTOR_MODULE
9593
#include "vector.h"
9694

9795
type role MVector nominal nominal

vector/src/Data/Vector/Storable.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,6 @@ import Data.Coerce
199199
import qualified GHC.Exts as Exts
200200
import Unsafe.Coerce
201201

202-
-- Data.Vector.Internal.Check is unused
203-
#define NOT_VECTOR_MODULE
204202
#include "vector.h"
205203

206204
type role Vector nominal

vector/src/Data/Vector/Storable/Mutable.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,6 @@ import Prelude
108108
import Data.Coerce
109109
import Unsafe.Coerce
110110

111-
-- Data.Vector.Internal.Check is not needed
112-
#define NOT_VECTOR_MODULE
113111
#include "vector.h"
114112

115113
type role MVector nominal nominal

vector/src/Data/Vector/Unboxed.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,6 @@ import Data.Semigroup ( Semigroup(..) )
244244

245245
import qualified GHC.Exts as Exts (IsList(..))
246246

247-
248-
#define NOT_VECTOR_MODULE
249247
#include "vector.h"
250248

251249
-- See http://trac.haskell.org/vector/ticket/12

vector/src/Data/Vector/Unboxed/Base.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ import GHC.Generics
6464
import Data.Coerce
6565
import Data.Kind (Type)
6666

67-
-- Data.Vector.Internal.Check is unused
68-
#define NOT_VECTOR_MODULE
6967
#include "vector.h"
7068

7169
data family MVector s a

vector/src/Data/Vector/Unboxed/Mutable.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ import Control.Monad.Primitive
7474

7575
import Prelude ( Ord, Bool, Int, Maybe, Ordering(..) )
7676

77-
-- don't import an unused Data.Vector.Internal.Check
78-
#define NOT_VECTOR_MODULE
7977
#include "vector.h"
8078

8179
-- Length information

0 commit comments

Comments
 (0)