Skip to content

ineg

Type ​

meta-lisp
(-> int-t int-t)

Description ​

Negation of an integer.

Examples ​

meta-lisp
(ineg 42)  ;; => -42
(ineg -1)  ;; => 1
(ineg 0)   ;; => 0