Skip to content

OMGasm/csharp-options

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Option

I felt like bringing Rust's Option type over to C# as much as the language would allow

Features / todos:

  • is_x
  • unwrap_x variants, expect
  • map_x
  • inspect
  • Result (!)
    • ok_x n such :)
    • transpose
  • iter :)
    • get, insert, replace
    • take, zip, unzip
    • to/from iter
  • boolean algebraic functions (and/or/etc)
  • maybe: ref/deref shenanigans
  • flatten
  • fancier type compatibility?

.NET

About

Option<T> in c# :)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages