Register to reply

Need help with Drscheme

by Yura
Tags: drscheme
Share this thread:
May13-06, 08:29 AM
P: 39
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.
Phys.Org News Partner Science news on
Mysterious source of ozone-depleting chemical baffles NASA
Water leads to chemical that gunks up biofuels production
How lizards regenerate their tails: Researchers discover genetic 'recipe'

Register to reply