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
Conversation
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 |
There was a problem hiding this comment.
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
There was a problem hiding this 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
Should be done 👍 |
All ABOOOOOARD! |
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)