Skip to content
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

fp-ts backports #182

Closed
samhh opened this issue May 20, 2023 · 2 comments
Closed

fp-ts backports #182

samhh opened this issue May 20, 2023 · 2 comments

Comments

@samhh
Copy link
Owner

samhh commented May 20, 2023

Some stuff that can potentially be dropped here:

Additionally some new aliases:

  • flatMap for chain
  • mapError for mapLeft
@stefanoCrmg
Copy link
Contributor

stefanoCrmg commented May 22, 2023

#185 should partially solve this issue.
I did not remove any of the mapBoth as they were not released with [email protected].

Is there any of function that you think would be a good fit for being made dual? https://github.com/gcanti/fp-ts/blob/master/src/function.ts#L773

Ideally I guess it would be great to have everything as dual but I'd say that maybe converting all of the unsafeUnwrap functions could be a good starting point?

@samhh
Copy link
Owner Author

samhh commented May 24, 2023

I'm not personally interested in supporting data-first. It's not how I'd advise anyone to write functional code and it harms maintainability here. Open to other perspectives.

@samhh samhh closed this as completed May 26, 2023
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

No branches or pull requests

2 participants