Skip Menu |

This queue is for tickets about the future CPAN distribution.

Report information
The Basics
Id: 131419
Status: new
Priority: 0/
Queue: future

People
Owner: Nobody in particular
Requestors: DBOOK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Option for fmap to continue on failures
Currently fmap acts much like Future->needs_all; on any failure the rest of the iteration is discarded and the overall future fails. It is a common use case to want the iteration to continue to the end regardless, this can be achieved by adding ->else to any returned Future that turns it into some sort of success, but it would be nice to have an option to handle this automatically in fmap. It's difficult to say what the appropriate automatic behavior should be though.