Hi,

I tried to disassemble this:

(define (f x y)
  (if (and (zero? x)
           (= (+ x y) y))
      1
      0))

In reality this is the same as:
(define (f x y)
  (if (zero? x)
      1
      0))

Except racket does not perform the optimization. What's the reason for
this?

Kind regards,
-- 
Paulo Matos

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-dev+unsubscr...@googlegroups.com.
To post to this group, send email to racket-dev@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-dev/a07b4b7b-c366-c79c-beb3-9b91413aade1%40linki.tools.
For more options, visit https://groups.google.com/d/optout.

Reply via email to