Merged in maccamlc/fugue/try_iterable (pull request #102)
cb71b49·Author: Matthew McMahon·Closed by: Anund McKague·2018-07-19
Description
@amckague thanks for getting 4.7.0 released.
I was going through the commits again, and noticed a couple minor things:
Try implements Iterable to provide support for methods like Pair#zip
Pair#zip has support for Iterable (Option / Either) and Optional. But Try is not handled yet. I think it makes sense to provide complete support for the types, and therefore there is a use case for implementing Iterable as far as I can see.
Tidy Try#filterOrElse javadoc (must have lost the line about handling of Try#delayed) and add to changelog
No hurry with this, as I don’t need to use any of this yet. But for completeness, I thought I’d get this PR up, rather than hold off and forget.
@amckague thanks for getting 4.7.0 released.
I was going through the commits again, and noticed a couple minor things:
Try implements Iterable to provide support for methods like Pair#zip
Pair#zip has support for Iterable (Option / Either) and Optional. But Try is not handled yet. I think it makes sense to provide complete support for the types, and therefore there is a use case for implementing Iterable as far as I can see.
Tidy Try#filterOrElse javadoc (must have lost the line about handling of Try#delayed) and add to changelog
No hurry with this, as I don’t need to use any of this yet. But for completeness, I thought I’d get this PR up, rather than hold off and forget.