-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 Tuple2K Semigroupal #3502
Add Tuple2K Semigroupal #3502
Conversation
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.
Actually before we merge this, can we make Tuple2KSemigroupal
a superclass for Tuple2KApply
?
Alright I can do that. Just another thing, does it matter which tuple2k instance abstract class this goes in because there was 0-8 so I wasn't really sure and also should this be tested? |
Codecov Report
@@ Coverage Diff @@
## master #3502 +/- ##
==========================================
- Coverage 91.77% 91.76% -0.02%
==========================================
Files 383 383
Lines 8400 8401 +1
Branches 218 216 -2
==========================================
Hits 7709 7709
- Misses 691 692 +1 |
Also is that import at the top of the file |
This is the correct place. I'm not sure about testing, I guess you would need a type that has |
Ah okay thanks for the response, yeah that makes sense. Also does it matter which tuple2k instances class this goes in because I'm not really sure why they are labelled 0-8, I thought maybe it was because they had some sort of structure. |
It matters but this is the correct place to put it. The reason they exist is implicit priority. |
Ah gotcha, thank you! :) |
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.
Thanks for adding this!
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.
Awesome, thanks!
Np, thanks for the help everyone! :) |
Closes #3410.
I wasn't really sure where in the Tuple2kInstances this should be added so I just put it in the last one so please tell me if there is somewhere else it should go. Also, should tests be added because I had a bit of trouble doing so. Thanks!