A series of adventures playing with my toy apl:
groups.google.com/d/topic/comp.lang.apl/W1Bn5gLNsE0/discussion . Eventually, I was shown a very simple way to do it. But I made the crazy way work somehow, by adding dynamic code-generation capabilities.