krisajenkins/elm-exts/25.11.0

NOTE: this package is not compatible with Elm 0.19.1

Exts.Array

Extensions to the core Array library.

update : Int -> (a -> a) -> Array a -> Array a

'Update' the entry at position n, by applying f to it. If the index is out of range, the array is unaltered.

unzip : Array ( a, b ) -> ( Array a, Array b )

Split an array of pairs into a pair of arrays.

The same as the core List.unzip.

singleton : a -> Array a

Wrap a single item into an Array.