-
Notifications
You must be signed in to change notification settings - Fork 535
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bracket implementations for all transformers ignore aux effects in release #371
Comments
Check out some of the history here: #113 (comment) |
Can we think of a more reasonable implementation of
I would like to have them consistent. |
Throwing exceptions in the functions passed to "Fixing it" implies that the callback injected is thread-safe and protected against being called multiple times. As it is, we cannot guarantee such a behavior, even if |
Or to put it in other words — the only way to signal errors in Signaling errors in any other way is a contract violation. Some implementations may choose to synchronize on that callback and if possible invoke it and some implementations will simply log the error. And I don't think we should do anything more than that. |
Output:
Expected:
The same holds for all implementations in Sync.
Is it wrong? Do we need laws for release?
UPD. The same happens in
Async.asyncF
.The text was updated successfully, but these errors were encountered: