Data.Permute.MPermute

Class of mutable permutation types

class MPermute p m

Constructing mutable permutations

newListPermute

newSwapsPermute

newCyclesPermute

newCopyPermute

copyPermute

setIdentity

Accessing permutation elements

getElem

setElem

getIndexOf

swapElems

Permutation properties

isValid

getIsEven

getPeriod

Permutation functions

getInverse

copyInverse

setNext

setPrev

Applying permutations

getSwaps

getInvSwaps

getCycleFrom

getCycles

Sorting

getSort

getSortBy

getOrder

getOrderBy

getRank

getRankBy

Converstions between mutable and immutable permutations

freeze

thaw

Unsafe operations

unsafeNewListPermute

unsafeNewSwapsPermute

unsafeNewCyclesPermute