-
Notifications
You must be signed in to change notification settings - Fork 253
Open
Description
Stream foldRight1 methods at https://github.com/functionaljava/functionaljava/blob/master/core/src/main/java/fj/data/Stream.java#L146
are named as if the stream must be non-empty but this is not the case.
I think we should either use A => B as initial value (to conform with the name, but unsafe) . Or rename to something like foldRight<Eager|Strict|?>. Or have both...
WDYT ?
Metadata
Metadata
Assignees
Labels
No labels