Skip to content

4.10.0

Compare
Choose a tag to compare
@Baptouuuu Baptouuuu released this 05 Feb 09:49
· 124 commits to develop since this release
4.10.0
2e8df7e

Added

  • Innmind\Immutable\Str::maybe()
  • Innmind\Immutable\Maybe::defer()
  • Innmind\Immutable\Either::defer()

Changed

  • ->get(), ->first(), ->last(), ->indexOf() and ->find() calls on a deferred or lazy Innmind\Immutable\Sequence will now return a deferred Innmind\Immutable\Maybe

Fixed

  • Innmind\Immutable\Sequence::last() returned Innmind\Immutable\Maybe::nothing() when the last value was null, now it returns Innmind\Immutable\Maybe::just(null)