mp
07/10/2018, 10:35 PMPlus
for the plus()
method. It would be great to be able to define sum()
on an Iterable<Plus>
, for instance.Andreas Sinz
07/10/2018, 10:37 PMnwh
07/10/2018, 10:37 PMIterable<Plus>
, but it wouldn't support types you don't create yourself. There is a proposal right now to add the ability to extend existing classes, which would allow what you're looking forAndreas Sinz
07/10/2018, 10:38 PMmp
07/10/2018, 10:39 PMnwh
07/10/2018, 10:39 PMAndreas Sinz
07/10/2018, 10:47 PMmp
07/10/2018, 10:47 PM