Rework `print` by adding observable `StandardOutput` and `StandardError` streams to Standard Library

Well the problem with that is that FileHandle doesn't conform to TextOutputStream, as far as I can tell. So you can't write print("blah", to: FileHandle.standardError) or dump(myObject, to: FileHandle.standardError) or anything like that.
Adding that conformance, however, seems trivial. Maybe that's a better path forward?

2 Likes