reference_map

ABSTRACT

Given a reference vector, perform an action on all of the individual references (e.g. the leafs)

PARAMETERS
vars&the reference vector
action(leaf&)the action to take on individual references
RETURN

A vector containing the responses for every single action

DECLARATION
func reference_map(vars&, action(leaf&))