[plt-scheme] Possible bug in for/fold

From: Noel Welsh (noelwelsh at gmail.com)
Date: Fri Jun 27 13:10:19 EDT 2008

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.


Posted on the users mailing list.