(not c) tests
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
; not a bool
|
||||
(defun not (x) (if x 0 1))
|
||||
(defun not (x) (if x nil 1))
|
||||
|
||||
(defun is-pos? (n) (> n 0))
|
||||
(defun is-neg? (n) (< n 0))
|
||||
|
||||
Reference in New Issue
Block a user