aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/tables.tm5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/tables.tm b/test/tables.tm
index 4c61bb77..132e4301 100644
--- a/test/tables.tm
+++ b/test/tables.tm
@@ -56,3 +56,8 @@ func main():
= {1:10, 3:30, 5:50}
>> {x:10*x for x in y if x > 1 for y in [3, 4, 5] if y < 5}
= {2:20, 3:30, 4:40}
+
+ >> t3 := {1:10, 2:20, 3:30}
+ >> t3:remove(3)
+ >> t3
+ = {1:10, 2:20}