Skip to content

1.0 RC2, formally 0.9.9

Compare
Choose a tag to compare
@kamstrup kamstrup released this 02 Jun 10:05
· 2 commits to main since this release

One API change did sneak in after all, but it should not affect anyone drastically.

API changes

  • seq.ForEach and seq.ForEachIndex now returns an Opt, and not another Seq. The opt can naturally encapsulate errors produced by the seq, which was more clumsy and unintuitive before
  • Removed seq.Error() which was a bit confusing, and only really there to support the previous error handling semantics in the for-each functions. Also removed the corresponding seq.Fallible interface.
  • Removed unused function type declarations Func0, Func0Err, Func1Err, Func2Err, FuncMapErr, PredicateErr. They were just polluting the namespace

New API

  • Tuple.Equals
  • Map.Copy and Set.Copy

Bug Fixes

  • Fixed a bug in seq.SplitOf.First if the splits contained empty elements

And more polish to the docs in many places