For example, this works fine:
const stdout_file = std.io.getStdOut().writer();
var stdout_bw = std.io.bufferedWriter(stdout_file);
const stdout = stdout_bw.writer();
but I cannot figure out how I'm supposed to write the type of any of those variables if I wanted to pass them to a function or store them in a struct anywhere. The best I can do for now is copy and paste those lines into every function that needs stdout, and none of them seem terribly expensive so it generally works fine, but if I need to flush in a different function than the one I'm writing in, it's not going to work


