aboutsummaryrefslogtreecommitdiff
path: root/miniMAL/core.json
diff options
context:
space:
mode:
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?",