From 984328ee471ecc8e2689348a7d60ef2bed18159c Mon Sep 17 00:00:00 2001 From: Shinya Sato Date: Thu, 29 Dec 2022 23:37:35 +0900 Subject: v10.0.2 --- sample/map.in | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'sample/map.in') diff --git a/sample/map.in b/sample/map.in index 7997a44..143f560 100644 --- a/sample/map.in +++ b/sample/map.in @@ -37,3 +37,13 @@ r3; // r3 ->[2,3,4] map(r4, %subPair) ~ [(10,2), (30,13)]; r4; // r4 ->[8,17] + + +// --- map application with `<<' abbriviation also +// --- This seems most easily readable. +r5 << map(%inc, [100,200,300]); +r5; // r5 ->[101,201,301] + +r6 << map(%subPair, [(10,2), (30,13)]); +r6; // r6 ->[8,17] + -- cgit v1.2.3 From 46d0da22df319007f6988734bcfe6a7ec0b96c92 Mon Sep 17 00:00:00 2001 From: Shinya Sato Date: Thu, 29 Dec 2022 23:40:10 +0900 Subject: v0.10.2 --- sample/map.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sample/map.in') diff --git a/sample/map.in b/sample/map.in index 143f560..c96daae 100644 --- a/sample/map.in +++ b/sample/map.in @@ -40,7 +40,7 @@ r4; // r4 ->[8,17] // --- map application with `<<' abbriviation also -// --- This seems most easily readable. +// --- It seems the simplest to read. r5 << map(%inc, [100,200,300]); r5; // r5 ->[101,201,301] -- cgit v1.2.3