Hi,

I noticed that (var pat) has a special meaning in pattern matching, i.e.,
the following program

#lang racket
(struct var (name))
(match (var "x")
  [(var name) name])

returns (var "x") instead of "x" as I would expected.

However it seems that this is not mentioned in the documentation.

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

Reply via email to