Ok, so with that patch, the case of a 1-element list and a binary sub now behaves the same as any other combination of arity n with a list whose length is not k(n-1)+1. I guess that's progress. :) Thanks, Vasily.
I'd still like to see the undef warnings reduced to one, rather than one for every undef in the expansion. On Mon, Dec 22, 2008 at 4:17 PM, Vasily Chekalkin <ba...@bacek.com> wrote: > Mark J. Reed wrote: >> >> Arity 2 and a 1-elem list seems to be special-cased; otherwise, it >> consistently warns once per undefined value in the expansion: > > 1-elem List reduce patch attached. Test added in r24567 > > -- > Bacek > -- Mark J. Reed <markjr...@gmail.com>