Welcome to the CHICKEN Scheme pasting service

try this added by Bunny351 on Wed Aug 28 16:25:29 2019


(define (foo x y)
  (if (and (eq? (##sys#slot x 0) y)
           (eq? (##sys#slot x 0) y))
      (##sys#slot x 0)
      (if (and (eq? (##sys#slot x 0) y)
               (eq? (##sys#slot x 0) y))
          (##sys#slot x 0)
          (if (and (eq? (##sys#slot x 0) y)
                   (eq? (##sys#slot x 0) y))
              (##sys#slot x 0)
              (if (and (eq? (##sys#slot x 0) y)
                       (eq? (##sys#slot x 0) y))
                  (##sys#slot x 0)
                  (fail))))))

(foo 123)
(foo 456)

;; csc -O2 -d0 -debug 7 -A x.scm

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What type of object does `map' expect as second argument?
Visually impaired? Let me spell it for you (wav file) download WAV