Builtin common functions ======================== Functions that are used by nearly every program, and very frequently, could possibly be built-ins. An example is logging: func var SomeType.do_stuff(int i) { debug "Starting. \={i}" if i < 0 { error "i may not be negative. \={i}" return } debug "Done" success # code paths that go here may not have called "error" } In this case, the "debug" calls would get wrapped by guard conditions (or possibly even compiled out). Should logging be allowed in functions that don't take any arena parameter? - If not, how should the log configuration be controlled? (and where should log output go?) - Perhaps there could be a special case for debug logging? Related problem: Exceptions in arena-less functions?