Evaluate @each with maps in functions