fn greet(name string) { print("Hello, $name!") }
import math
We hope you enjoy programming in V!
fn divide(x f64, y f64) ?f64 { if y == 0 { return error("division by zero") } return x / y } getting started with v programming pdf updated