Highlights
@jfmengels implemented a new function Result.Extra.foldWhileOk : (a -> value -> Result error value) -> value -> List a -> Result error value, that is semantically equivalent to List.foldl (\x res -> Result.andThen (f x) res) (Ok initial) list, but actually stops iterating when it encounters an Err value. This can make it drastically more performant.
Details
- Documentation:
- improved examples for
String.Extra.classifyby @miniBill in #79 - Fix examples for
List.Extra.reverseRangeby @jfmengels in #85
- improved examples for
- Perfomance:
- Features
- Add
Result.Extra.foldlWhileOkby @jfmengels in #86
- Add