[racket-dev] bug in match docs
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