I don't want to take action if the function returns a value in the optional; how do I test the None case only? This code works, but it looks horrible.
let v = ffunc();
match v {
None => { callproc() },
Some(x) => { }
}
In C, I can write:
int x = ffunc();
if ( !x ) { callproc() }