Bring the Rust [Result Option] types to Vlang
V has builtin Option/Result types supporting, so the project only purpose to learn generics of V.
a := some(0)
b := non[int]()
assert a.is_some() == true
assert b.is_some() == falseBug reports and pull requests are welcome on GitHub at https://github.com/initdc/types.v