mirror of
https://github.com/zeroflag/fcl.git
synced 2025-01-11 20:01:10 +01:00
Update README.md
This commit is contained in:
parent
b454b6f32f
commit
01ec314f77
1 changed files with 9 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue