map trim command on list members
Posted: Wed Oct 19, 2016 9:46 am
Hi guys,
how can I map trim command to list members?
say I have list like this:
and I want to trim dot character trying this construct:
but it doesn't work, output is:
how can I map trim command to list members?
say I have list like this:
Code: Select all
(set 'lst '("a." "b " "c"))
Code: Select all
(set 'lst2 (map (curry trim {.}) lst))
Code: Select all
("." "." ".")