Groups
Groups
Sign in
Groups
Groups
LSharp
Conversations
About
Send feedback
Help
L# question ::: problem with map function
1 view
Skip to first unread message
l3v3rz
unread,
Nov 30, 2009, 10:53:54 AM
11/30/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to LSharp
trying to use map -
this works : -
(map (fn (x) (+ x 10)) '(1 2 3))
(11 12 13)
this doesn't - it should do this .........
(map + '(1 2 3 4) '(100 200 300))
(101 202 303)
but instead returns ....
'(1 2 3 4)
Is this a 'feature' or is there another way to achieve the desired
result ???
thanks
Reply all
Reply to author
Forward
0 new messages