question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Eff doesn’t seem to have MapFail (unlike Aff). Is there a reason why it shouldn’t? Completely understand if it just hasn’t been implemented.

In the meantime, my quick/dirty workaround is an extension that does Eff -> Aff -> MapFail -> Eff.

Thanks!

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
louthycommented, May 25, 2022

There is for the RT version, seems there’s an oversight on the non-RT version. You can use BiMap as a workaround, passing identity for Succ

ma.BiMap(Succ: identity, Fail: e => …)
0reactions
louthycommented, Jun 4, 2022

Released in 4.2.1. Thanks for the PR 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

`MapFail` on `Aff` question · Issue #930 · louthy/language-ext
My team and I have a question on how to use MapFail on Aff . We ... var effWithException = Eff<Unit>(() => throw...
Read more >
maptitude1: Map fail: CBS misplaces Argentina ... - Eff Yeah ...
maptitude1: “ Map fail: CBS misplaces Argentina ” I wonder if they did that on purpose to distract from how they messed up...
Read more >
In Justice We Trust.
eden-eff liked this. egecivaner liked this. leianagrace liked this ... lady-byleth: “mapfail: “Coffee drinkers' world map ” every new · mapfail.
Read more >
I interviewed a woman who is terminally ill. 'So,'...
king-shango-the-great liked this. eden-eff liked this ... wymanthewalrus: “ mapfail: “This stress ball without Europe. ” Not a fail. mapfail.
Read more >
Untitled
Nyseg Hosting Capacity MapFail Pass Interconnection Approved Detailed Study Fail Hosting Capacity (DRIVE) Hosting Capacity © 2017 Electric Power Research ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found