[racket] Any way to get "true" quasiquote behavior in match form?

From: rob cook (heycarnut at gmail.com)
Date: Fri Mar 9 19:37:17 EST 2012

That is, without using a macro or eval. Id like to do:

(define a 4)
(define l1 '(1 2 3))
(match l1
  (`(1 2 ,a) #t)
  (_ #f))

So that this example would result in #f, and #t if a bound to 3.

Since of course match has its own quasiquote behavior, this does not seem
possible w/o making a macro for "dynamic" match, or building the s-exp and
using eval (yuck!).

Is this correct, or have I missed something obvious?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120309/2c86659e/attachment-0001.html>

Posted on the users mailing list.