diff options
| author | Joel Martin <github@martintribe.org> | 2015-02-16 00:01:10 -0600 |
|---|---|---|
| committer | Joel Martin <github@martintribe.org> | 2015-02-16 00:01:10 -0600 |
| commit | d90c784472f6131f28612eb6eaa02404e002178d (patch) | |
| tree | 81bea60b366d3168bc58a7976918b8d436e895fa /miniMAL/core.json | |
| parent | 2774a151313c2b6bef052f5f8906b912c7f60bf8 (diff) | |
| download | mal-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.json | 4 |
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?", |
