option_result 0.0.1-dev-4 option_result: ^0.0.1-dev-4 copied to clipboard
A lightweight Dart library for Rust-like Option/Result types. Supports exhaustive pattern matching and provides helpers for None()/Err() propagation
0.0.1-dev-4 #
- Add
Option#and()
,andThen()
,or()
,orElse()
,expect()
- Add
Result#and()
,andThen()
,or()
,orElse()
,expect()
,expectErr()
0.0.1-dev-3 #
- Add
Option#map()
,zip()
,zipWith()
,unzip()
- Add
Result#map()
,mapErr()
- Reworked
propagateResult/Async
semantics to be more in-line with Rust'sResult
Err
propagation
0.0.1-dev-2 #
- Add separate packages to allow importing
option
andresult
separately - Add
Option#filter()
method
0.0.1-dev-1 #
- Initial version.