Update README.md

This commit is contained in:
Attila Magyar 2021-06-21 23:18:40 +02:00 committed by GitHub
parent b5002b9f7a
commit 25e5708085
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -305,6 +305,10 @@ A list is a dynamic, ordered data structed.
[ 1 2 3 4 ] 1 3 sublst \ gets a sublist from the original from 1 (inclusive) to 3 (exclusive) [ 1 2 3 4 ] 1 3 sublst \ gets a sublist from the original from 1 (inclusive) to 3 (exclusive)
``` ```
```
[ 1 2 3 ] 2 * \ basic arithmetic with scalars work with lists, this will multiple each item with 2.]
```
### Implementation notes ### Implementation notes
Lists are java.util.ArrayList instances and garbage collected automatically by the host language. Lists are java.util.ArrayList instances and garbage collected automatically by the host language.