crab 0.2.0
crab: ^0.2.0 copied to clipboard
Provides Rust-like Result and Option type.
0.2.0 #
- Added
Resultmethods. You can use almost all the features of Rust'sResulttrait (exclude nightly-only features). - Fixed
Ok#toString,Err#toString,Some#toString, andNone#toString. - Breaking:
Result#flatMepis removed. You can useResult#andTheninstead. - Breaking: Changed
Ok.valueandErr.errto private. You can useResult#unwrapandResult#unwrapErrinstead. - Breaking: Changed
Some.valueto private. You can useOption#unwrapinstead.
0.1.0 #
- Initial release