Update README.md

This commit is contained in:
Attila Magyar 2021-07-10 22:42:34 +02:00 committed by GitHub
parent b454b6f32f
commit 01ec314f77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -315,6 +315,15 @@ A list is a dynamic, ordered data structed. `[` and `]` are Forth words, so a wh
[ 1 2 3 ] 2 * \ basic arithmetic with scalars work with lists, this will multiple each item with 2.
```
```forth
[ 1 2 3 ] minl \ selects the smallest item from the list
```
```forth
[ 1 2 3 ] maxl \ selects the largest item from the list
```
### Implementation notes
Lists are java.util.ArrayList instances and garbage collected automatically by the host language.