Skip to content
Discussion options

You must be logged in to vote

I guess there are lots of other arity-specifc traits in Cats that contribute to the inflated module size too, e.g.: Tuple[1|2|...|22]SemigroupalOps, ParallelArityFunctions, just to name a few.

The problem are not just the arity functions by themselves. The issue is that they are generated in traits and those traits generate bridge methods in every subclass. They should have been generated as abstract classes.

Replies: 5 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@joroKr21
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@johnynek
Comment options

@joroKr21
Comment options

Answer selected by satorg
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants