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

feat: Support first order types #222

Merged
merged 5 commits into from
Feb 15, 2024
Merged

feat: Support first order types #222

merged 5 commits into from
Feb 15, 2024

Conversation

Iltotore
Copy link
Owner

Add first order types support like ZIO Prelude's wrapAll and variants (option/either/unsafe/...) as well as equivalent methods for RefinedTypeOps and ...Further.

Support for Cats' Functor and ZIO Prelude's Covariant and documentation are still in WIP.

Closes #202

@Iltotore
Copy link
Owner Author

@ajaychandran I chose to name the methods with the suffix All instead of F for two reasons:

  • I find it clearer (tho it can be a bit less intuitive for single-value containers like Future, Option, IO etc...)
  • Names with F are sometimes confusing. For example, the first order version of refineFurther becomes refineFFurther vs refineAllFurther (`refineFurtherF is less confusing but it does not looks very natural to me).

@Iltotore Iltotore marked this pull request as ready for review February 13, 2024 10:33
@Iltotore Iltotore merged commit 50b3fb3 into main Feb 15, 2024
2 checks passed
@Iltotore Iltotore deleted the feat/first-order-types branch March 3, 2024 08:34
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.

Support first order types
1 participant