Skip to content

initdc/types.v

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

types.v

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.

Usage

a := some(0)
b := non[int]()

assert a.is_some() == true
assert b.is_some() == false

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/initdc/types.v

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages