All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.tarao.collection.CanBuildFrom.scala Maven / Gradle / Ivy

The newest version!
package com.github.tarao
package collection

// making `dummy` private causes compilation error on use site
class CanBuildFrom[-From, -A, +C](protected val dummy: Unit) extends AnyVal
object CanBuildFrom {
  implicit def canBuildFrom[From, A, C]: CanBuildFrom[From, A, C] = new CanBuildFrom[From, A, C](())
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy