4.10.0
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 lazyInnmind\Immutable\Sequence
will now return a deferredInnmind\Immutable\Maybe
Fixed
Innmind\Immutable\Sequence::last()
returnedInnmind\Immutable\Maybe::nothing()
when the last value wasnull
, now it returnsInnmind\Immutable\Maybe::just(null)