Closed blever closed 11 years ago
Agree. Will fix.
However, some of the names that come into scope may clash with other structures. They are very general. Are you sure you want them in scope?
I think if you do import com.nicta.scoob.Scoobi._
it should just bring into scope a Reduction
object, not everything inside it. That is, one would need to use Reduction.maximum
rather than just maximum
. This would avoid the clashes. If that's "too much typing", you can always explicitly import the object, e.g. import Reduction._
, to bring everything in scope.
What do you think?
Yeah, this is OK. It would require some shuffling.
If I only have the following import:
I am unable to fully leverage the
Reduction
companion object. For example:It would be better if the
Reduction
companion object was brought into scope when importing theScoobi
object.