I am trying to use map with (string-split "a,b,c" ",")
to split strings in a list.
(string-split "a,b,c" ",")
'("a" "b" "c")
Following works if string-split is used without ",":
(define sl (list "a b c" "d e f" "x y z"))
(map string-split sl)
'(("a" "b" "c") ("d" "e" "f") ("x" "y" "z"))
But following does not split strings in the list around ",":
(define sl2 (list "a,b,c" "d,e,f" "x,y,z"))
(map (string-split . ",") sl2)
'(("a,b,c") ("d,e,f") ("x,y,z"))
How can I use map with functions that need additional arguments?