On Fri 23 Sep 2011 16:45, [email protected] (Ludovic Courtès) writes: > Could it be a feature? > > (let ((pat '('a _ ...))) > (match '(a b c) (pat #t))) > => #t
`match' compiles patterns to Scheme code at macro expansion time. It
doesn't do runtime matching. Are you thinking that `pat' is being used
as a pattern? It is not:
(let ((pat '('b _ ...)))
(match '(a b c) (pat #t)))
=> #t
If it were a pattern, it would not match. It is a bug IMO.
Andy
--
http://wingolog.org/
