Register to reply

Need help with Drscheme

by Yura
Tags: drscheme
Share this thread:
Yura
#1
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 Phys.org
Security CTO to detail Android Fake ID flaw at Black Hat
Huge waves measured for first time in Arctic Ocean
Mysterious molecules in space

Register to reply