- Added
Result.tap/2
and friends. - Added
Result.default!/2
and friends, which raise if value isnil
. Result.filter/2
and friends now accept 0-arity functions and truthy values.
- Added
Result.filter/2
and friends. - Added
Result.Enum.map_grouped_by_tag/2
. Result.unwrap!("hello")
now shows"hello"
in exception message instead of{:untagged, "hello"}
- Use "Result" instead of "Value" in exception messages generated by
Result.unwrap!/1
and friends. - Documented behaviour of
nil |> Result.none_then(:ok)
- Made some argument names and typespecs more consistent.
- Initial release.