Open jpellegrini opened 1 month ago
Hi @egallesio ! Maybe this one is interesting? :)
eq?
(eq? a b)
(equal? a b)
This is the result:
stklos> (disassemble-expr '(equal? a b)) 000: GLOBAL-REF-PUSH 0 002: GLOBAL-REF 1 004: IN-EQUAL stklos> (disassemble-expr '(equal? a #eof)) 000: GLOBAL-REF-PUSH 0 002: CONSTANT 1 004: IN-EQ stklos> (disassemble-expr '(equal? 25 #eof)) 000: IM-FALSE
And maybe the same could be done for eqv?...
eqv?
And member, and memv, maybe?
member
memv
Hi @egallesio ! Maybe this one is interesting? :)
eq?
-comparable object, rewrite into(eq? a b)
(equal? a b)
This is the result:
And maybe the same could be done for
eqv?
...