Re: [racket] how to design programs chap5 error!!!

2010-11-29 Thread David Van Horn

> On Nov 28, 2010, at 6:58 AM, 邢泉 wrote:
>
>> Hi:
>> Help Me! Thanks!
>> > (master check-color)
>> check-color: this is a procedure, so it must be applied to arguments
>> (which requires using a parenthesis before the name)

On 11/29/10 10:10 PM, Matthias Felleisen wrote:


How did you produce this error message?


My guess: Q. Xing defined master rather than using the master teachpack, 
which results in this error.


Make sure you add the master.ss teachpack by going to Language > Add 
Teachpack... then select master.ss.  Remove any definition of master 
that you have written.


David

_
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/users

Re: [racket] how to design programs chap5 error!!!

2010-11-29 Thread Matthias Felleisen

How did you produce this error message? 

When I run this program: 

  (require htdp/master)
  (define (check-color x y z w)   x)
  (master check-color)

I get no error whatsoever.  I also don't get an error when I run 

 > (master check-color)

in the interactions area: 

Welcome to DrRacket, version 5.0.99.3--2010-11-29(f11e53c/g) [3m].
Language: Beginning Student.
> (master check-color)
true
>

-- Matthias
 


On Nov 28, 2010, at 6:58 AM, 邢泉 wrote:

>  
> Hi:
>  
> Help Me! Thanks! 
>  
> > (master check-color)
> check-color: this is a procedure, so it must be applied to arguments (which 
> requires using a parenthesis before the name)
>  
>  
> 2010-11-28
> Q.Xing
> _
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users

_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users