Suppose I have a list in which I need to map a function to a list. Also suppose that function takes several arguments and even more options (such as styling). How would I pass all arguments and options when mapping f
to the list using Map[...]
?
Below is a simple contrived example...
list=Range[10]
fn[arg1,arg2,arg3]:=Module[do something with all args, options->spec]
Map[fn,list] (* how would I pass all arguments and specify style options? *)
What if the function I wish to map is a native function (built-in) NativeFn[...]
with style options? How would I pass those through the Map[NativeFn,list]
?