Re: [Chicken-users] matchable egg: error while reporting error?

2019-06-03 Thread Peter Bex
On Mon, Jun 03, 2019 at 09:25:51AM +0200, Marco Maggi wrote: > 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 expansi

Re: [Chicken-users] matchable egg: error while reporting error?

2019-06-03 Thread Marco Maggi
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

Re: [Chicken-users] matchable egg: error while reporting error?

2019-06-02 Thread Peter Bex
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*)) > (_ >(prett

[Chicken-users] matchable egg: error while reporting error?

2019-06-02 Thread Marco Maggi
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 ...)