solving a puzzle in chicken scheme

I've been very interested in two scheme implementations lately: racket and chicken. I find simple programming puzzles are a good way to learn about a new tool, so I found a simple puzzle called the array iteration problem and produced a solution, which is below.


The authors of these small puzzles always describe them as trivial...but they're often slightly more challenging than one would think!

last update 2013-05-07