Skip to content

Commit e6b20b7

Browse files
Shimuuarlehins
andauthored
Apply suggestions from code review
Co-authored-by: Alexey Kuleshevich <alexey@kuleshevi.ch>
1 parent e10630d commit e6b20b7

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

vector/src/Data/Vector/Primitive.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
module Data.Vector.Primitive (
2727
-- * Primitive vectors
28-
Vector, MVector, pattern MVector, pattern Vector,
28+
Vector(MVector), MVector(Vector),
2929

3030
-- * Accessors
3131

@@ -181,7 +181,7 @@ import Prelude
181181
pattern Vector :: Int -> Int -> ByteArray -> Vector a
182182
pattern Vector i j arr = U.Vector i j arr
183183
{-# COMPLETE Vector #-}
184-
{-# DEPRECATED Vector "Use constructor exported from Data.Vector.Primitive.Unsafe" #-}
184+
{-# DEPRECATED Vector "Use `U.Vector` constructor exported from \"Data.Vector.Primitive.Unsafe\"" #-}
185185

186186
-- Length
187187
-- ------

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ import Prelude ( Ord, Bool, Int, Maybe, Ordering(..) )
8787
pattern MVector :: Int -> Int -> MutableByteArray s -> MVector s a
8888
pattern MVector i j arr = U.MVector i j arr
8989
{-# COMPLETE MVector #-}
90-
{-# DEPRECATED MVector "Use constructor exported from Data.Vector.Primitive.Mutable.Unsafe" #-}
90+
{-# DEPRECATED MVector "Use `U.MVector` exported from \"Data.Vector.Primitive.Mutable.Unsafe\"" #-}
9191

9292
-- Length information
9393
-- ------------------

0 commit comments

Comments
 (0)