Avatar
struct Path { private var string: String ... } let path: Path = "/foo" let foo = path["bar"] // /foo/bar