You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I copied https://github.com/non/algebra/blob/master/core/src/main/scala/algebra/Priority.scala into algebird because I wanted to resolve an issue with algebird + spark and spark's approach of using implicit ord: Ordering[K] = null with the fact that you can't in 2.11 have overloaded methods and default parameters (so I used Priority[Ordering[K], DummyImplicit] and .getPreferred.orNull).
It occurs to me, this could be a candidate to add to scala. It is unlikely to change much.
If they'd never accept it, no big deal, but it seems to be one of the easier things to move there.
I copied https://github.com/non/algebra/blob/master/core/src/main/scala/algebra/Priority.scala into algebird because I wanted to resolve an issue with algebird + spark and spark's approach of using
implicit ord: Ordering[K] = nullwith the fact that you can't in 2.11 have overloaded methods and default parameters (so I usedPriority[Ordering[K], DummyImplicit]and .getPreferred.orNull).It occurs to me, this could be a candidate to add to scala. It is unlikely to change much.
If they'd never accept it, no big deal, but it seems to be one of the easier things to move there.