1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-11 13:55:55 +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 (local mal-time-ms
(t.make-fn (t.make-fn
(fn [asts] (fn [asts]
(t.make-number (os.clock))))) (t.make-number
(math.floor (* 1000 (os.clock)))))))
(fn fennel-eval* (fn fennel-eval*
[fennel-val] [fennel-val]