From 25e5708085074069ad8e7a213da3b5ed74ab857f Mon Sep 17 00:00:00 2001 From: Attila Magyar Date: Mon, 21 Jun 2021 23:18:40 +0200 Subject: [PATCH] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index d936d1a..7e3ce78 100644 --- a/README.md +++ b/README.md @@ -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 ] 2 * \ basic arithmetic with scalars work with lists, this will multiple each item with 2.] +``` + ### Implementation notes Lists are java.util.ArrayList instances and garbage collected automatically by the host language.