1
1
mirror of https://github.com/kanaka/mal.git synced 2024-08-16 17:20:23 +03:00

Improve time-ms

This commit is contained in:
sogaiu 2021-04-20 08:27:23 +09:00
parent 39b4500dca
commit c1a0e86376

View File

@ -669,7 +669,8 @@
(local mal-time-ms
(t.make-fn
(fn [asts]
(t.make-number (os.clock)))))
(t.make-number
(math.floor (* 1000 (os.clock)))))))
(fn fennel-eval*
[fennel-val]