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
Currently withFirst() operation does not include (first, first) pair into result, so when one-element stream is passed, the resulting stream is empty. This limits the number of applications for this operation. A proposed change is to include (first, first) pair into result. To mimic the current behavior, withFirst().skip(1) could be used. Unfortunately this would introduce behavioral incompatibility with current version. Hopefully withFirst() is not widely used yet, so this would be an acceptable change.
The text was updated successfully, but these errors were encountered:
Currently
withFirst()
operation does not include(first, first)
pair into result, so when one-element stream is passed, the resulting stream is empty. This limits the number of applications for this operation. A proposed change is to include(first, first)
pair into result. To mimic the current behavior,withFirst().skip(1)
could be used. Unfortunately this would introduce behavioral incompatibility with current version. HopefullywithFirst()
is not widely used yet, so this would be an acceptable change.The text was updated successfully, but these errors were encountered: