Add eqv?.

* module/mes/base.scm (eqv?): New function.
This commit is contained in:
Jan Nieuwenhuizen 2016-12-20 07:51:50 +01:00
parent 2390d46a63
commit 0bf21998a0

View file

@ -41,6 +41,8 @@
(list 'if (car x) (cons 'and (cdr x))
#f))))
(define eqv? eq?)
(define (equal? a b) ;; FIXME: only 2 arg
(if (and (null? a) (null? b)) #t
(if (and (pair? a) (pair? b))