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

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Fri Mar 9 20:16:52 EST 2012

On Fri, Mar 9, 2012 at 7:44 PM, Robby Findler
<robby at eecs.northwestern.edu> wrote:
> You can write
>
> (match l1
>  [`(1 2 ,(? (lambda (x) (equal? x a)))) #t]
>  [_ #f])

The following also means the same as what Robby wrote:

 (match l1
  [`(1 2 ,(== a)) #t]
  [_ #f])


-- 
sam th
samth at ccs.neu.edu


Posted on the users mailing list.