Data.Vector.Primitive.Mutable

# Mutable vectors of primitive types

data MVector s a

type IOVector

type STVector s

class Prim 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

## Restricting memory usage

clear

# Accessing individual elements

read

write

swap

unsafeRead

unsafeWrite

unsafeSwap

# Modifying vectors

## Filling and copying

set

copy

move

unsafeCopy

unsafeMove