[racket] Bug report: collects/htdp/hangman.rkt
Thanks a lot!!
(This is indeed a dirty secret part; a change to structs in *sl shouldn't trigger a change to a teachpack.)
And in 2htdp, we'll abolish it. -- Matthias
On Sep 21, 2010, at 4:30 PM, Robby Findler wrote:
> Okay. Looks like that was the only thing. At least the first example
> below works properly and is now codified in a test suite (altho the
> correct incantation seems to be (hangman make-word reveal symbol?)).
> It just does the below and then waits for a "Hangman" frame to appear.
> If one does, the test suite passes.
>
> Thanks for the report and the help with the test case. Here's the
> changes, if you're curious:
>
> http://git.racket-lang.org/plt/d55932e3df..8499a4e65d
> http://git.racket-lang.org/plt/859ea63faa..bf409e6300
>
> Robby
>
> On Tue, Sep 21, 2010 at 10:56 AM, Matthias Felleisen
> <matthias at ccs.neu.edu> wrote:
>>
>> htdp/tests/hangman1.rkt ; run (hangman make-reveal make-reveal add1) in REPL
>>
>> htdp/tests/hangman-error.rkt ; just run
>>
>> ignore errors
>>
>>
>>
>> On Sep 21, 2010, at 9:58 AM, Robby Findler wrote:
>>
>>> I've fixed the problem that was introduced when signatures were added,
>>> but there seem to be other problems with the teachpack.
>>>
>>> If someone would be kind enough to provide a test case (a sample
>>> non-"solution" that at least runs) I'll keep working on it and put it
>>> into drdr so that we don't have this problem going forward.
>>>
>>> Robby
>>>
>>> On Tue, Sep 21, 2010 at 8:21 AM, Matthias Felleisen
>>> <matthias at ccs.neu.edu> wrote:
>>>>
>>>> (require htdp/hangman)
>>>> (define-struct wrd (a b c))
>>>> (hangman make-wrd make-wrd add1)
>>>>
>>>> It's time to admit, nobody gets hung anymore.
>>>>
>>>> On Sep 20, 2010, at 10:09 PM, Frodo theGreat wrote:
>>>>
>>>>> DrRacket, version 5.0.1 [3m]
>>>>> Line 253, char 51.
>>>>>
>>>>> The `4' should be replaced with `5'.
>>>>>
>>>>> Frodo
>>>>>
>>>>> _________________________________________________
>>>>> For list-related administrative tasks:
>>>>> http://lists.racket-lang.org/listinfo/users
>>>>
>>>> _________________________________________________
>>>> For list-related administrative tasks:
>>>> http://lists.racket-lang.org/listinfo/users
>>>>
>>
>>