﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	difficulty
385	Better error reporting for srfi-26	sjamaan	felix winkelmann	"{{{((cut + <...> 1) 1)}}} is allowed and returns 1, contrary to expectations.

{{{(cut)}}} and {{{(cute)}}} both give an internal error; ""Error: (car) during expansion of (cute ...) - bad argument type: ()"". This should be a more contextually relevant error.

Here's two patches; one allows suffix patterns, the variables for which simply get consumed placewise from the right (similar to #379). Normal variables get consumed from the left and if anything's left in between, that's used for the placeholder. The above example would return 2.

The other patch simply checks for the presence of extra args and throws an error if there are any.

Both patches add an error message for when you do {{{(cut)}}}."	defect	closed	minor	4.9.0	core libraries	4.6.x	fixed	srfi-26, cut, cute		
