Since pattern matching has been a topic of discussion lately -- I'm trying to 
get simple pattern matching to work in Adv. Student -- for example this 
expression:

(match (make-color 1 2 3)
  [(make-color r g b) (* r g b)])

gets this response 

  match: expected a pattern, but found a part

I would appreciate an explanation or a pointer to how I can understand this. 
Thanks.

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

Reply via email to