[plt-scheme] Possible bug in for/fold
On Fri, Jun 27, 2008 at 5:12 PM, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> That seems like the right thing to me. Is there some reason that your
> macro can't/shouldn't match the zero accumulators with zero results?
My macro can and does work around this. It just struck me that this
seemed like an asymmetric case that could be made more symmetric (I
think (values) the only way to generate zero results) or a programmer
error that could be statically detected and better reported. It took
me some time to debug.
N.