crab 1.0.0
crab: ^1.0.0 copied to clipboard
Provides Rust-like Result and Option types, making it easier to handle error and option values.
1.0.0 #
Crab is now stable!
- Added
Optionmethods. You can use almost all the features of Rust'sOptiontrait (exclude nightly-only features). - Breaking:
Option#flatMepis removed. You can useOption#andTheninstead.
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