# Add ArrayList functions \(\#755\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/1c236b0766bbc68f1b04e32a95683e273b26714c)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 1c236b0766bbc68f1b04e32a95683e273b26714c

Requested commit: 1c236b0766bbc68f1b04e32a95683e273b26714c

Commit: 1c236b0766bbc68f1b04e32a95683e273b26714c

Tree: 2bd1a6945df3aac741937ba00d39ecf4f8c43703

Author: Marc Tiehuis

Committer: Andrew Kelley

## Message

```
Add ArrayList functions (#755)

at - Get the item at the n-th index.

insert - Insert and item into the middle of the list, resizing and copying
existing elements if needed.

insertSlice - Insert a slice into the middle of the list, resizing and
copying existing elements if needed.
```

## Parents

- [dd20f558f0b3740a37c1d16a306e35f8cbe6a38f](https://git.cafe/gitcafe/zig/commit/dd20f558f0b3740a37c1d16a306e35f8cbe6a38f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/1c236b0766bbc68f1b04e32a95683e273b26714c?format=markdown)
