Re: newbie exploring better ways
- From: Griff <grettke@xxxxxxxxx>
- Date: Tue, 29 Jan 2008 20:23:22 -0800 (PST)
Look at it this way, there are three things that can happen when you
call this function:
If the list is empty, return the list.
If the car of the list is equal to the item, return the cdr of the
list
Else cons the car of the list with the result of calling the function
with the cdr of the list
How would that look in Lisp?
Which do you like better?
.
- Follow-Ups:
- Re: newbie exploring better ways
- From: Kent M Pitman
- Re: newbie exploring better ways
- References:
- newbie exploring better ways
- From: vijay
- newbie exploring better ways
- Prev by Date: newbie exploring better ways
- Next by Date: Re: better way to enumerate
- Previous by thread: newbie exploring better ways
- Next by thread: Re: newbie exploring better ways
- Index(es):
Relevant Pages
|
|