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

Add instances for functions of all arities #223

Merged
merged 1 commit into from
Apr 21, 2020

Conversation

joroKr21
Copy link
Member

@joroKr21 joroKr21 commented Mar 15, 2020

Monad and Distributive instances.
Defer was not stack safe.

Closes typelevel/cats#3108

I'm not sure where is the best place for those instances.
They don't fit in the semi / auto / cached scheme.

Also not sure about Function0 and Function1.
I specifically excluded them to avoid ambiguities with cats.instances.

@joroKr21 joroKr21 added this to the 2.1.0 milestone Mar 15, 2020
@joroKr21 joroKr21 self-assigned this Mar 15, 2020
Copy link
Contributor

@kailuowang kailuowang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am fine with as is.

`Monad` and `Distributive` instances.
`Defer` was not stack safe.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Instances for functions beyond Function1
2 participants