To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 5010
5009  |  5011
Subject: 
Re: A recursion question/test... (fwd)
Newsgroups: 
lugnet.robotics
Date: 
Wed, 12 May 1999 03:18:55 GMT
Original-From: 
Jim Choate <ravage@einstein.ssz.*SayNoToSpam*com>
Viewed: 
735 times
  
----- Forwarded message from Rich Clemens -----

From: "Rich Clemens" <clemens@wvwc.edu>
Subject: Re: A recursion question/test...
Date: Tue, 11 May 1999 23:51:21 -0400

(define (sum num)
  (if (zero? num)
      0
      (+ num(sum (- num 1)))))

----- End of forwarded message from Rich Clemens -----

Two lines too many.

    ____________________________________________________________________

       Three step plan: 1. Take over world. 2. Get lot's of cookies.
                        3. Eat the cookies.

                                                    Anonymous

       The Armadillo Group       ,::////;::-.          James Choate
       Austin, Tx               /:'///// ``::>/|/      ravage@ssz.com
       www.ssz.com            .',  ||||    `/( e\      512-451-7087
                           -====~~mm-'`-```-mm --'-
    --------------------------------------------------------------------
--
Did you check the web site first?: http://www.crynwr.com/lego-robotics



1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR