[racket-dev] The `var` pattern in `match`

From: David Van Horn (dvanhorn at ccs.neu.edu)
Date: Wed Nov 28 20:04:52 EST 2012

On 11/28/12 7:53 PM, Sam Tobin-Hochstadt wrote:
> Currently, `match` provides a pattern named `var`, which makes `(var
> id)` equivalent to `id`, but without special cases for things like `_`
> and `...`.
>
> However, this frequently conflicts with structures that people define,
> and is rarely used other than accidentally.  I'd therefore like to
> remove it entirely.

+ (expt 2 (expt 2 (expt 2 (expt 2 2))))


Posted on the dev mailing list.