loops-help

Discussion of Common Lisp

loops-help

Postby murali » Fri Jul 01, 2011 12:14 pm

====================================
1. Write a function, sum, which will return the sum of the elements
of a list of integers.
(a) use iteration (loops), (call your function: sumiteration)
murali
 
Posts: 15
Joined: Fri Jul 01, 2011 10:11 am

Re: loops-help

Postby I X Code X 1 » Fri Jul 01, 2011 12:20 pm

This one is very easy, but try to work it out on your own. Everything you need can be found right here: http://www.unixuser.org/~euske/doc/cl/loop.html
User avatar
I X Code X 1
 
Posts: 59
Joined: Sun May 29, 2011 8:52 pm
Location: NY


Return to Common Lisp

Who is online

Users browsing this forum: Google [Bot] and 3 guests