import std.typecons : tuple; import unit_threaded.should : shouldEqual; formatNamed!("Hello %(second) World %(first)%(second)!") .values(tuple!("first", "second")("3", "5")) .shouldEqual("Hello 5 World 35!");
See Implementation