Skip to content

Add bind_error to Lwt_result - #943

Merged
raphael-proust merged 5 commits into
ocsigen:masterfrom
bn-d:patch-1
Jun 2, 2022
Merged

raphael-proust merged 5 commits into
ocsigen:masterfrom
bn-d:patch-1

Conversation

@bn-d

@bn-d bn-d commented May 12, 2022 •

Copy link
Copy Markdown
Contributor

There is map vs map_error and there is bind_lwt vs bind_lwt_error. I think having a bind_error would really make sense. This is very usefully when your processes have retry, backup/alternative loading method etc.

Thanks

@raphael-proust

Copy link
Copy Markdown
Collaborator

The changeset looks good to me. The history can use some squashing. Do you want to do it? Otherwise I can squash and push on your branch. Let me know.

@bn-d

bn-d commented Jun 2, 2022

Copy link
Copy Markdown
Contributor Author

Let's just squash and push through GitHub. Thanks

@raphael-proust
raphael-proust merged commit 3885cf7 into ocsigen:master Jun 2, 2022
@bn-d
bn-d deleted the patch-1 branch June 3, 2022 19:47
MisterDA pushed a commit to MisterDA/lwt that referenced this pull request Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants