From: Sam Tobin-Hochstadt (samth at ccs.neu.edu) Date: Sun Dec 11 15:57:48 EST 2011 |
|
On Sun, Dec 11, 2011 at 3:39 PM, Harry Spier <vasishtha.spier at gmail.com> wrote: > In the Racket Reference it gives this example for match-let . > > match-let ([(list a b) '(1 2)] > [(vector x ...) #(1 2 3 4)]) > (list b a x)) > > > '(2 1 (1 2 3 4)) > > I'm not clear why the result isn't '(2 1 #(1 2 3 4)) `x ...' as a pattern always binds `x' to a list of elements. -- sam th samth at ccs.neu.edu
Posted on the users mailing list. |
|