R-like vector syntax for handling numeric types in Go