You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mark Value methods as @Deprecated Value will not be deprecated. My initial plan was to introduce io.vavr.Iterable instead but that is not a good idea. The name would be ambiguous because there exists java.lang.Iterable. Instead we will just deprecate and move the Value methods mentioned below.
Move 'undeprecated' copies to io.vavr.collections.Traversable:
exists
forAll
collect
contains
peek
isLazy
isEmpty
Move 'undeprecated' copies to io.vavr.control.* Note: it isn't intended to move the conversion methods mentioned below to Future, since the conversion method are blocking calls.
get
getOr*
toEither
toOption
toTry
toValidation
Remove methods:
isAsync
isSingleValued
isTraversableAgain (Iterator will not extend Value)
out
stderr
stdout
corresponds
eq
getOrNull() resp. orNull() does not make sense in the presence of primitive generics. E.g. having an Option<int> opt, calling int i = opt.getOrNull() would be fatal.
Re-implement spliterator on controls and collections
Future.fold seems to be broken, currently it takes an Iterable.
The text was updated successfully, but these errors were encountered:
It is the development branch and not released. I had in mind to re-implement big parts of Vavr. But I do not have the time to do that. I will undeprecate all the things by time. It is important not to break the existing Vavr version.
Mark Value methods asValue will not be deprecated. My initial plan was to introduce io.vavr.Iterable instead but that is not a good idea. The name would be ambiguous because there exists java.lang.Iterable. Instead we will just deprecate and move the Value methods mentioned below.@Deprecated
getOrNull()
resp.orNull()
does not make sense in the presence of primitive generics. E.g. having anOption<int> opt
, callingint i = opt.getOrNull()
would be fatal.The text was updated successfully, but these errors were encountered: