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
Physical constant is constant even in strong gravitational fields
Montreal VR headset team turns to crowdfunding for Totem
Researchers study vital 'on/off switches' that control when bacteria turn deadly

Register to reply