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 sequence birecursive instance and fix corecursive tests #1750

Merged
merged 8 commits into from Oct 30, 2019

Conversation

1Jajen1
Copy link
Member

@1Jajen1 1Jajen1 commented Oct 26, 2019

I forgot this instance, also corecursive equality of unfolds by == instead of using Eq, that only fails with Sequence, but should be fixed by using equalUnderTheLaw anyway. (The same is not necessary for Recursive because we are only comparing ints there)

@1Jajen1
Copy link
Member Author

1Jajen1 commented Oct 26, 2019

I also moved elgot and coelgot, it was a mistake to have them in recursive/corecursive.

It wrongly used a non-monadic unfold
@@ -0,0 +1,56 @@
package arrow.recursion
Copy link
Member

Choose a reason for hiding this comment

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

Add Test to the name of this file, if possible :D

Copy link
Member

@pakoito pakoito left a comment

Choose a reason for hiding this comment

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

LGTM, some nit on file names

@1Jajen1
Copy link
Member Author

1Jajen1 commented Oct 30, 2019

LGTM, some nit on file names

Should be done 👍

@pakoito pakoito merged commit 3bc6301 into arrow-kt:master Oct 30, 2019
@pakoito
Copy link
Member

pakoito commented Oct 30, 2019

All ABOOOOOARD!

@franciscodr franciscodr mentioned this pull request Nov 13, 2019
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.

None yet

2 participants