Skip to content

2.3.0

Latest

Choose a tag to compare

@gampleman gampleman released this 09 Mar 19:13
6751e94

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.classify by @miniBill in #79
    • Fix examples for List.Extra.reverseRange by @jfmengels in #85
  • Perfomance:
  • Features