summaryrefslogtreecommitdiffstats
path: root/testdata
diff options
context:
space:
mode:
authorStephen Dolan <mu@netsoc.tcd.ie>2012-09-18 23:32:24 +0100
committerStephen Dolan <mu@netsoc.tcd.ie>2012-09-18 23:32:24 +0100
commit5863160112ac8b50f8b7b7da60044a78f8f261de (patch)
treed6f4514de03f4bfa1e042a3d893c58e5d9927be7 /testdata
parentfbf7bc835bfa96800411dc9e7014544779060225 (diff)
Implement the 'add' builtin promised by the docs' examples.
Diffstat (limited to 'testdata')
-rw-r--r--testdata4
1 files changed, 4 insertions, 0 deletions
diff --git a/testdata b/testdata
index 7357ccb2..8a289973 100644
--- a/testdata
+++ b/testdata
@@ -211,6 +211,10 @@ null
null
[1,2,3,4]
+map(add)
+[[], [1,2,3], ["a","b","c"], [[3],[4,5],[6]], [{"a":1}, {"b":2}, {"a":3}]]
+[null, 6, "abc", [3,4,5,6], {"a":3, "b": 2}]
+
#
# User-defined functions
# Oh god.