diff --git a/src/stdlib/array.md b/src/stdlib/array.md index 120b64e8..47f63eb4 100644 --- a/src/stdlib/array.md +++ b/src/stdlib/array.md @@ -2,7 +2,15 @@ title: Array --- -Utilities for working with arrays. +Utilities for working with arrays. Array is a lower level implementation than [List](./list); prefer working with List. You can use [toList](#toList) and [fromList](#fromList) to easily convert an Array to/from a List. + +You can create an Array using Array literal syntax: + +```grain +let array = [> 1, 2, 3] +``` + +Note the `>`! If you omit this, Grain will create a List.
Added in 0.2.0