blob: e6a5a474076d87f5fd3d4b1cca39906beee743c5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
package cask.internal
import scala.annotation.implicitNotFound
@implicitNotFound("Cannot return ${T} as a ${V} response")
class Conversion[T, V](val f: T => V)
object Conversion{
def create[T, V](implicit f: T => V) = new Conversion(f)
}
|