fn check_name(name: &str) -> Result<(), StateError>Expand description
Refuse a name that cannot be a variable: empty, with a dot, or with whitespace.
fn check_name(name: &str) -> Result<(), StateError>Refuse a name that cannot be a variable: empty, with a dot, or with whitespace.