Search found 3 matches
- Wed Dec 29, 2010 11:47 am
- Forum: Common Lisp
- Topic: Map Function
- Replies: 5
- Views: 4980
Re: Map Function
Thanks Warren exactly what I wanted.
- Wed Dec 29, 2010 4:22 am
- Forum: Common Lisp
- Topic: Map Function
- Replies: 5
- Views: 4980
Re: Map Function
Would there be a way to run either function and create one list for the output instead of multiple sub-lists?
i.e. (1 2 3 2 4 6 3 6 9) not ((1 2 3) (2 4 6) (3 6 9))
i.e. (1 2 3 2 4 6 3 6 9) not ((1 2 3) (2 4 6) (3 6 9))
- Tue Dec 28, 2010 5:14 pm
- Forum: Common Lisp
- Topic: Map Function
- Replies: 5
- Views: 4980
Map Function
I have two lists, I want to apply a function to the first element of the list1 with each element in list2, then the second item in the list1 with each item in the list2, etc. I assume the map function would be the best way to do this but have no idea how to call some sort of loop function with one i...