object DefaultsTo {
implicit def default[B] = new DefaultsTo[B, B]
implicit def overrideDefault[A,B] = new DefaultsTo[A,B]
}
T DefaultsTo Node
looks rather strange but is actually the infix form of DefaultsTo[T,Node]
object DefaultsTo {
implicit def default[B] = new DefaultsTo[B, B]
implicit def overrideDefault[A,B] = new DefaultsTo[A,B]
}
T DefaultsTo Node
looks rather strange but is actually the infix form of DefaultsTo[T,Node]