Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions vector/src/Data/Vector/Fusion/Bundle.hs
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ import Prelude
import Data.Functor.Classes (Eq1 (..), Ord1 (..))
import GHC.Base ( build )

-- Data.Vector.Internal.Check is unused
#define NOT_VECTOR_MODULE
#include "vector.h"

-- | The type of pure streams
Expand Down
2 changes: 0 additions & 2 deletions vector/src/Data/Vector/Generic/Mutable/Base.hs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ module Data.Vector.Generic.Mutable.Base (

import Control.Monad.ST

-- Data.Vector.Internal.Check is unused
#define NOT_VECTOR_MODULE
#include "vector.h"

-- | Class of mutable vectors parameterised with a primitive state token.
Expand Down
2 changes: 0 additions & 2 deletions vector/src/Data/Vector/Generic/New.hs
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ import Prelude
, return, seq
, (.), (=<<) )

-- Data.Vector.Internal.Check is unused
#define NOT_VECTOR_MODULE
#include "vector.h"

-- | This data type is a wrapper around a monadic action which produces
Expand Down
2 changes: 0 additions & 2 deletions vector/src/Data/Vector/Primitive/Mutable.hs
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ import Prelude
import Data.Coerce
import Unsafe.Coerce

-- Data.Vector.Internal.Check is unnecessary
#define NOT_VECTOR_MODULE
#include "vector.h"

type role MVector nominal nominal
Expand Down
2 changes: 0 additions & 2 deletions vector/src/Data/Vector/Storable.hs
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,6 @@ import Data.Coerce
import qualified GHC.Exts as Exts
import Unsafe.Coerce

-- Data.Vector.Internal.Check is unused
#define NOT_VECTOR_MODULE
#include "vector.h"

type role Vector nominal
Expand Down
2 changes: 0 additions & 2 deletions vector/src/Data/Vector/Storable/Mutable.hs
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@ import Prelude
import Data.Coerce
import Unsafe.Coerce

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

type role MVector nominal nominal
Expand Down
2 changes: 0 additions & 2 deletions vector/src/Data/Vector/Unboxed.hs
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,6 @@ import Data.Semigroup ( Semigroup(..) )

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


#define NOT_VECTOR_MODULE
#include "vector.h"

-- See http://trac.haskell.org/vector/ticket/12
Expand Down
2 changes: 0 additions & 2 deletions vector/src/Data/Vector/Unboxed/Base.hs
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ import GHC.Generics
import Data.Coerce
import Data.Kind (Type)

-- Data.Vector.Internal.Check is unused
#define NOT_VECTOR_MODULE
#include "vector.h"

data family MVector s a
Expand Down
2 changes: 0 additions & 2 deletions vector/src/Data/Vector/Unboxed/Mutable.hs
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ import Control.Monad.Primitive

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

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

-- Length information
Expand Down
Loading