Abstract I have a function objectName
that gets SymbolName
and value. I would like to apply this to many variables at once with another function that applies to each argument with unknown number of them. I would prefer not to list them but just throw them in as arguments much like the function 'Plus[a,b,c,...]' but would output results as pairs in a list {{name[a],value[a]},{name[b],value[b]},{name[c],value[c]},...}
. I cannot seem to get it to work.
objectName = Function[Null, {SymbolName[Unevaluated[#]], Evaluate[symbol]}, {HoldFirst}];
dataIn[#__] := Function[Null, objectName[#__], Listable];