Data.Vector.Generic.Mutable

Class of mutable vector types

class MVector v a

Accessors

Length information

length

null

Extracting subvectors

slice

init

tail

take

drop

splitAt

unsafeSlice

unsafeInit

unsafeTail

unsafeTake

unsafeDrop

Overlapping

overlaps

Construction

Initialisation

new

unsafeNew

replicate

replicateM

clone

Growing

grow

unsafeGrow

growFront

unsafeGrowFront

Restricting memory usage

clear

Accessing individual elements

read

write

modify

swap

exchange

unsafeRead

unsafeWrite

unsafeModify

unsafeSwap

unsafeExchange

Modifying vectors

Filling and copying

set

copy

move

unsafeCopy

unsafeMove

Internal operations

mstream

mstreamR

unstream

unstreamR

vunstream

munstream

munstreamR

transform

transformR

fill

fillR

unsafeAccum

accum

unsafeUpdate

update

reverse

unstablePartition

unstablePartitionBundle

partitionBundle