Skip to content

Commit 36aee16

Browse files
committed
Rename module Unboxed.Base -> Unboxed.Unsafe
1 parent 5125015 commit 36aee16

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

vector/src/Data/Vector/Unboxed.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ module Data.Vector.Unboxed (
226226
) where
227227

228228
import Control.Applicative (Applicative)
229-
import Data.Vector.Unboxed.Base
229+
import Data.Vector.Unboxed.Unsafe
230230
import qualified Data.Vector.Generic as G
231231
import qualified Data.Vector.Fusion.Bundle as Bundle
232232
import Data.Vector.Fusion.Util ( delayed_min )

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ module Data.Vector.Unboxed.Mutable (
6868
PrimMonad, PrimState, RealWorld
6969
) where
7070

71-
import Data.Vector.Unboxed.Base
71+
import Data.Vector.Unboxed.Unsafe
7272
import qualified Data.Vector.Generic.Mutable as G
7373
import Data.Vector.Fusion.Util ( delayed_min )
7474
import Control.Monad.Primitive

vector/src/Data/Vector/Unboxed/Base.hs renamed to vector/src/Data/Vector/Unboxed/Unsafe.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
{-# LANGUAGE TypeFamilies #-}
1212
{-# LANGUAGE TypeApplications #-}
1313
{-# LANGUAGE DerivingVia #-}
14-
{-# OPTIONS_HADDOCK hide #-}
1514
-- |
1615
-- Module : Data.Vector.Unboxed.Base
1716
-- Copyright : (c) Roman Leshchinskiy 2009-2010
@@ -26,7 +25,7 @@
2625
--
2726
-- Adaptive unboxed vectors: basic implementation.
2827

29-
module Data.Vector.Unboxed.Base (
28+
module Data.Vector.Unboxed.Unsafe (
3029
MVector(..), IOVector, STVector, Vector(..), Unbox,
3130
UnboxViaPrim(..), UnboxViaStorable(..), As(..), IsoUnbox(..),
3231
DoNotUnboxLazy(..), DoNotUnboxNormalForm(..), DoNotUnboxStrict(..)

vector/vector.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Library
139139
Data.Vector.Storable.Mutable.Unsafe
140140
Data.Vector.Storable.Unsafe
141141

142-
Data.Vector.Unboxed.Base
142+
Data.Vector.Unboxed.Unsafe
143143
Data.Vector.Unboxed.Mutable
144144
Data.Vector.Unboxed
145145

0 commit comments

Comments
 (0)