
Search found 3 matches
- Sun Jan 25, 2009 1:53 pm
- Forum: Common Lisp
- Topic: A procedure to extract atoms from a list
- Replies: 11
- Views: 28649
Re: A procedure to extract atoms from a list
Thank you, your reply was really useful. I think I'm getting the hang of it 

- Fri Jan 23, 2009 6:04 am
- Forum: Common Lisp
- Topic: A procedure to extract atoms from a list
- Replies: 11
- Views: 28649
Re: A procedure to extract atoms from a list
Thank you for your reply. I am rather new to Lisp, though, and I am not sure I completely understood your advice. Could you tell me a little more about that flatten function? And also, will two procedures be enough for the whole program?
- Fri Jan 23, 2009 3:26 am
- Forum: Common Lisp
- Topic: A procedure to extract atoms from a list
- Replies: 11
- Views: 28649
A procedure to extract atoms from a list
Hello. I need to right a recursive procedure that receives a list (could be nested) or an atom as input and returns a new list in which only the atoms of the input data are extracted. Further, if there are repeating atoms only one of them must be listed. It should look something like this: (extract-...