[racket-dev] [plt] Push #25466: master branch updated

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Tue Oct 16 15:05:30 EDT 2012

match-define is something else

On Tue, Oct 16, 2012 at 1:03 PM, Eli Barzilay <eli at barzilay.org> wrote:
> Two days ago, stchang at racket-lang.org wrote:
>>  @deftogether[(
>> + at defform[(define/match (head args) match*-clause ...)]
>>  @defform[(match-lambda clause ...)]
>>  @defform[(match-lambda* clause ...)]
>>  @defform[(match-let ([pat expr] ...) body ...+)]
>
> I don't know if nobody paid any attention to this, but the above looks
> *really* ugly.  Please³ rename it to `match-define'.
>
> (Yes, it's true that this won't get recognized as a definition form
> using drr's usual regexp, but that's already true for the other match
> forms.)
>
> --
>           ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
>                     http://barzilay.org/                   Maze is Life!
>
> _________________________
>   Racket Developers list:
>   http://lists.racket-lang.org/dev



-- 
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay

"The glory of God is Intelligence" - D&C 93


Posted on the dev mailing list.