On Sun, Dec 11, 2011 at 3:39 PM, Harry Spier <[email protected]> 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
[email protected]

_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to