It can be useful to get a custom dump representation of a value as a string on a single line. Swift provides String.init(describing:) and String.init(reflecting:) (though no equivalent for a quick string from Swift.dump), so maybe we can provide similar functionality via a string initializer.
It can be useful to get a custom dump representation of a value as a string on a single line. Swift provides
String.init(describing:)
andString.init(reflecting:)
(though no equivalent for a quick string fromSwift.dump
), so maybe we can provide similar functionality via a string initializer.