File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 17
17
18
18
module Data.Vector.Primitive (
19
19
-- * Primitive vectors
20
- Vector , MVector (.. ), Prim ,
20
+ Vector ( .. ) , MVector (.. ), Prim ,
21
21
22
22
-- * Accessors
23
23
@@ -173,7 +173,7 @@ import qualified GHC.Exts as Exts
173
173
-- | Unboxed vectors of primitive types
174
174
data Vector a = Vector {- # UNPACK #-} !Int
175
175
{- # UNPACK #-} !Int
176
- {- # UNPACK #-} !ByteArray
176
+ {- # UNPACK #-} !ByteArray -- ^ offset, length, underlying byte array
177
177
deriving ( Typeable )
178
178
179
179
instance NFData (Vector a )
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ import Data.Typeable ( Typeable )
69
69
-- | Mutable vectors of primitive types.
70
70
data MVector s a = MVector {- # UNPACK #-} !Int
71
71
{- # UNPACK #-} !Int
72
- {- # UNPACK #-} !(MutableByteArray s )
72
+ {- # UNPACK #-} !(MutableByteArray s ) -- ^ offset, length, underlying mutable byte array
73
73
deriving ( Typeable )
74
74
75
75
type IOVector = MVector RealWorld
You can’t perform that action at this time.
0 commit comments