[racket-dev] bug in match docs

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Thu Feb 3 18:44:58 EST 2011

On Thu, Feb 3, 2011 at 7:31 AM, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> At Wed, 2 Feb 2011 22:54:25 -0600, Robby Findler wrote:
>> I see this in the match docs:
>>
>>   > (match (make-hat 23 'bowler)
>>       [(struct shoe (sz col)) sz]
>>       [(struct hat (sz stl)) sz])
>>
>>   reference to undefined identifier: make-hat
>>
>> and I think that's a bug in the docs.
>
> Fixed.

The latest build suggests that it isn't quite fixed yet. I see:


  > (match (make-hat 23 'bowler)
      [(struct shoe (sz col)) sz]
      [(struct hat (sz stl)) sz])

  reference to undefined identifier: make-hat

here:

  http://pre.racket-lang.org/docs/html/guide/match.html?q=match

Robby



Posted on the dev mailing list.