[racket-dev] bug in match docs

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Fri Feb 4 09:44:24 EST 2011

Must have been a cache or something.

Thanks!

Robby

On Friday, February 4, 2011, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> At Thu, 3 Feb 2011 17:44:58 -0600, Robby Findler wrote:
>> 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
>
> It looks right to me -- -I don't find "make-hat" or "undefined"
> anywhere on the page. Maybe the build wasn't done or an out-of-date
> cache was involved? Or am I looking in the wrong place?
>
>



Posted on the dev mailing list.