| Thread Closed |
need help with Drscheme |
Share Thread |
| May13-06, 08:29 AM | #1 |
|
|
need help with Drscheme
If I have a list '(1 2 3 4 5 6 7 8), how do write a procedure that will make the list (p1 p2 p3 p4 p5 p6 p7 p8), with the "p" in front of each number.
I've tried using cons to but that just does the whole ((p . 1) (p . 2) (p . 3)....) thing I need it without the cons dot. Does anyone know a procedure to even just take inputs p and n so that running it returns pn ? because then i might be able to map that in. |
| Thread Closed |