Peter Bex wrote: > On Mon, Jun 03, 2019 at 06:21:56AM +0200, Marco Maggi wrote: >> Ciao,
>> with CHICKEN 5.0.0 this form using MATCH from "matchable" (updated >> right now): >> (match '(#:a #:b c d) >> (((? keyword? k*) ... (? symbol? s*) ...) >> (pretty-print k*) >> (pretty-print s*)) >> (_ >> (pretty-print 'no))) >> fails with: >> Error: during expansion of (match-syntax-error283 ...) - no rule matches >> form: (match-syntax-error "multiple ellipsis patterns not allowed at same >> level") >> which looks like an error while reporting an error. > It's complaining about your pattern, which is ambiguous. I understand this. But the problem looks like MATCH-SYNTAX-ERROR is used with an invalid syntax by the "matchable" internals themselves. What I expected is an error during the expansion of MATCH, not during the expansion of MATCH-SYNTAX-ERROR. -- Marco Maggi _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users