This package aims at array manipulation directly in TeX. It provides the macros arrayMake
, arrayLen
, arrayPush
, arrayGet
, arraySet
, arrayPop
, arrayEmpty
, arrayFind
, arrayIndexOf
, arrayPushNoDuplicate
, arrayRemove
, arrayContains
, arrayRemoveAt
, arrayMakeOrEmpty
, arrayCopy
, arrayForeach
, arrayForeachSkipping
, arrayFold
, arrayMakeRepeat
, arrayMakeFun
, arrayMap
, arrayEnsureDefined
and arrayEnsureIndexable
.
Look at the pdf
documention for more detail.