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
_________________________________________________
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/users

Reply via email to