Append an Arr N containing a fixed amount of elements.
sixEmptySlots =
Arr.repeat nat6 0
Arr.from2 1 2
|> NArr.extend nat6 sixEmptySlots
--> Arr.from6 1 2 0 0 0 0 0 0Kick an element out of an Arr at a given index in a direction.
Arr.from3 'a' 'a' 'b'
|> InArr.removeAt nat1 FirstToLast
--> Arr.from2 'a' 'b'
Arr.from4 'a' 'b' 'c' 'd'
|> InArr.removeAt nat0 LastToFirst
--> Arr.from3 'a' 'b' 'c'
Put a new element after the others.