The map function works fine on really easy functions that take no arguments like *7 to every element in a list of Ints.
But say I made a custom function that takes a Char, String and Int and then returns a Char and I wanted to apply this function to a list of Chars i.e. a String to get a String back after applying the other function to each Char? When I try this all I get is error messages?
map (\x -> f x "string" 10) "another string"?Char?map::(a -> b) -> [a] -> [b].(a -> b)is a function that takes a value of typeato return another of typeb.