aboutsummaryrefslogtreecommitdiff
path: root/miniMAL/core.json
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2015-02-16 00:01:10 -0600
committerJoel Martin <github@martintribe.org>2015-02-16 00:01:10 -0600
commitd90c784472f6131f28612eb6eaa02404e002178d (patch)
tree81bea60b366d3168bc58a7976918b8d436e895fa /miniMAL/core.json
parent2774a151313c2b6bef052f5f8906b912c7f60bf8 (diff)
downloadmal-d90c784472f6131f28612eb6eaa02404e002178d.tar.gz
mal-d90c784472f6131f28612eb6eaa02404e002178d.zip
miniMAL: stepA. Comments. Add impl Makefile for stats.
Diffstat (limited to 'miniMAL/core.json')
-rw-r--r--miniMAL/core.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/miniMAL/core.json b/miniMAL/core.json
index 52c2507..e61000d 100644
--- a/miniMAL/core.json
+++ b/miniMAL/core.json
@@ -8,6 +8,9 @@
["def", "div", ["fn", ["a", "b"], ["parseInt", ["/", "a", "b"]]]],
+["def", "time-ms", ["fn", [],
+ [".", ["new", "Date"], ["`", "getTime"]]]],
+
["def", "_count", ["fn", ["a"],
["if", ["=", null, "a"],
0,
@@ -67,6 +70,7 @@
["`", "-"], "-",
["`", "*"], "*",
["`", "/"], "div",
+ ["`", "time-ms"], "time-ms",
["`", "list"], "list",
["`", "list?"], "list?",