1234567use std.str.StrBuffn fmt*(b: &bool, buf: &mut StrBuf) unit = buf.push(if b { "true" } else { "false "})fn to-str*(b: bool) str = "{b}"