[cs-lisp] recursive function

2007-11-01 Başlik �ffffe7a�fffff0layan
I try to replace some elements of a list through using recursive function; but i cannot. Can you advise me? Function: replace a with e, and b with d. (defun replace (lst) (cond ((null lst) 1) ((eq lst 'a) 'e) ((eq lst 'b) 'd)

[cs-lisp] recursive and 'prog'

2007-11-01 Başlik �ffffe7a�fffff0layan
I want to write a function using recursive function, which prints the first let's say 15 cubes (1, 8, 27, 64..). H o w ? How could it be with non-recursive function? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection

RE: [cs-lisp] recursive and 'prog'

2007-11-01 Başlik Emre Sevinc
-Original Message- From: [EMAIL PROTECTED] on behalf of aykut ÿe7aÿf0layan Sent: Thu 11/1/2007 6:24 PM To: lisp grup Subject: [cs-lisp] recursive and 'prog' I want to write a function using recursive function, which prints the first let's say 15 cubes (1, 8, 27, 64..). H o w ?

RE: [cs-lisp] recursive function

2007-11-01 Başlik Emre Sevinc
-Original Message- From: [EMAIL PROTECTED] on behalf of aykut ÿe7aÿf0layan Sent: Thu 11/1/2007 6:07 PM To: cs-lisp@cs.bilgi.edu.tr Subject: [cs-lisp] recursive function I try to replace some elements of a list through using recursive function; but i cannot. Can you advise me?