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

com.ebiznext.comet.utils.conversion.package.scala Maven / Gradle / Ivy

There is a newer version: 0.2.6
Show newest version
package com.ebiznext.comet.utils.conversion

trait Convertible[A, B] extends (A => B)

package object syntax {

  implicit class ConvertibleOps[A](a: A) {
    def to[B](implicit convert: Convertible[A, B]): B = convert(a)
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy