Case sometimes assumes unapply applies the same number of args as it takes
issa-tseng opened this issue · 0 comments
issa-tseng commented
In other words, that all unapply functions look something like
(Klass) => (a, b, c) => new Klass(a, (f => f(a, b, c)))
when in reality something like this is possible:
(Klass) => (a, b, c) => new Klass(a, (f => f(a, b + c)))