Help lisp

Discussion of Common Lisp

Help lisp

Postby Brown. » Mon May 25, 2009 4:54 pm

Make a function call in Lisp dividivel that recbe two arguments:
a dividend and a divisor x, and answer if T x is divisible by ye
NIL if x is not divisible by y.
pesquisar
Brown.
 

Re: Help lisp

Postby Paul Donnelly » Tue May 26, 2009 12:34 pm

What do you have so far? Do you know in general how to determine whether a number is divisible by another?
Paul Donnelly
 
Posts: 148
Joined: Wed Jul 30, 2008 11:26 pm

Re: Help lisp

Postby nuntius » Wed May 27, 2009 6:09 pm

Go to the CLHS (http://www.lispworks.com/documentation/HyperSpec/Front/index.htm), click on the "symbol index", and find the MOD function. Or search for it at http://lispdoc.com.
User avatar
nuntius
 
Posts: 498
Joined: Sat Aug 09, 2008 10:44 am
Location: Burlington, MA


Return to Common Lisp

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests

cron