Home | Notes | Languages | Programs | Homework |
Re: project 2 question |
Stephen Edwards (edwards@CS.VT.EDU)
Wed, 24 Oct 2001 16:00:17 -0400
Message-ID: <3BD71DD1.2C8DF480@cs.vt.edu> Date: Wed, 24 Oct 2001 16:00:17 -0400 From: Stephen Edwards <edwards@CS.VT.EDU> Subject: Re: project 2 question
> I have tried many variations of this but I usually get an error message saying
> that the object is not applicable. Could someone help me out with this?
This error always means you have too many parentheses somewhere.
(cons (beginning) (list-ref variableList num1))
^---------^
The expression above attempts to call ("apply", that is) beginning as if
it were a function taking zero arguments.
-- Steve
-- Stephen Edwards 604 McBryde Hall Dept. of Computer Science e-mail : edwards@cs.vt.edu U.S. mail: Virginia Tech (VPI&SU) office phone: (540)-231-5723 Blacksburg, VA 24061-0106 -------------------------------------------------------------------------------
Home | Notes | Languages | Programs | Homework |