A Modular Synthetic Strategy for Functional Macrocycles