Pavel
говоря о ньютайпах, камент норм:
/** Safe type casting from A to B. */
trait Coercible[A, B] {
@inline final def apply(a: A): B = a.asInstanceOf[B]
}
/** Safe type casting from A to B. */
trait Coercible[A, B] {
@inline final def apply(a: A): B = a.asInstanceOf[B]
}