On Wed, Aug 27, 2008 at 9:02 PM, Elf <[EMAIL PROTECTED]> wrote: > > i believe that this is an error in chicken. there are two ellipses in the > pattern and only one in the output spec, so in both cases it should error > with > an invalid transformer spec notice. additionally, the 'a' isnt followed by > an ellipsis, nor is the 'b' followed by an ellipsis, which is specifically > the error referred to here: 'pattern variables that occur in subpatterns > followed by one or more instances of the identifier ... are allowed only in > subtemplates that are followed by as many instances of ... . > they are replaced in the output by all of the subforms they match in the > input, > distributed as indicated. it is an error if the output cannot be built as > specified.' >
BTW, alexpander accepts this form, but gives an error if the lists are of unequal length. cheers, felix _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
