[racket] match in Advanced Student?

From: Prabhakar Ragde (plragde at uwaterloo.ca)
Date: Wed Aug 17 09:33:00 EDT 2011

Why does this expression successfully evaluate in #lang racket but gives 
a syntax error in Advanced Student?

(match 1
   [(or 1 2) 'pass]
   [else 'fail])

The or-clause is highlighted and the error is "match: expected a 
pattern, but found a part".

Thanks. --PR

Posted on the users mailing list.