Welcome to the CHICKEN Scheme pasting service

no title added by anonymous on Wed Oct 25 22:57:44 2017

      (let ((stopi w)) (let loopi ((i starti))
          (unless (>= i stopi)
            (let ((stopj h)) (let loopj ((j startj))
                (if (or (>= j stopj) (= (array-ref arr i j) particle-type) )
                    (cons i j)
                    (loopj (inc j)) ) ))
            (loopi (inc i)) )))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Proper ... recursion is required by the Scheme specification.
Visually impaired? Let me spell it for you (wav file) download WAV