1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-28 19:19:53 +00:00

Remove aliases for deprectaed functions.

This commit is contained in:
Calvin Rose 2019-12-28 17:51:05 -05:00
parent 52dd0f132a
commit 5142722da3

View File

@ -72,14 +72,6 @@
(setdyn name* @{:ref @[init]}) (setdyn name* @{:ref @[init]})
nil) nil)
# Aliases
(def == =)
(def not== ==)
(def order< <)
(def order<= <=)
(def order> >=)
(def order>= >=)
# Basic predicates # Basic predicates
(defn nan? "Check if x is NaN" [x] (not= x x)) (defn nan? "Check if x is NaN" [x] (not= x x))
(defn even? "Check if x is even." [x] (= 0 (% x 2))) (defn even? "Check if x is even." [x] (= 0 (% x 2)))