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.

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 (, click on the "symbol index", and find the MOD function. Or search for it at
User avatar
Posts: 532
Joined: Sat Aug 09, 2008 10:44 am
Location: Newton, MA

Return to Common Lisp

Who is online

Users browsing this forum: No registered users and 4 guests