Expand description
Macro echo! and echon! print values separated by spaces without the
need to specify "{}" format strings, similar to Linux echo and
echo -n commands.
To use the macro, you’ll need to include the following declarations at the top level of your crate:
ⓘ
#![feature(phase)]
#[phase(plugin)] extern crate echo;Then you can invoke it as follows:
ⓘ
let a = 0u;
let b = vec![2i, 4, 6];
// 0 [2, 4, 6] true
echo!(a, b, true);
// 0 (without newline)
echon!(a);