Search found 2 matches
- Sun Dec 28, 2008 10:45 am
- Forum: Common Lisp
- Topic: Deleting a sequence from a list
- Replies: 3
- Views: 12006
Re: Deleting a sequence from a list
Thanks so much - brilliant
. I feel like I'm really starting to let go of my procedural way of thinking and accept this functional way, thanks for all the help! I'll have an experiment with this.
- Sat Dec 27, 2008 7:52 am
- Forum: Common Lisp
- Topic: Deleting a sequence from a list
- Replies: 3
- Views: 12006
Deleting a sequence from a list
Hi there, I have just entered the world of LISP so I'm a bit of a newbie! I want to change a list containing something like (2 x + 1) into something like (2 x) i.e. I want to find and delete all (+ 1)s in a list. I am familiar with the delete function but that only takes an atom: (delete '+ '(2 x + ...