chris-hatton
05/19/2017, 11:06 AMwith allows you to return a value, making it like a mapping which happens to call the same object multiple times. This might be useful for calling an older style factory e.g. val thing = with( ThingFactory() ) { addConfigA(); addConfigB(); build() }