if!=   macro


Defined in:  https://github.com/lambdamusic/extempore-extensions/blob/main/init/init_lisp.xtm

Implementation

;;
; (if!= 2 3 (print 'ciao) (print 'baby))
(define-macro (if!= x y args . elseargs)
   `(if (not (equal? ,x ,y))
        ,args 
        ,@elseargs))


Back to Index