
com.twitter.finagle.util.Showable.scala Maven / Gradle / Ivy
package com.twitter.finagle.util
/**
* Trait showable is a type-class for showing parseable
* representations of objects.
*/
trait Showable[-T] {
def show(t: T): String
}
object Showable {
def show[T](t: T)(implicit showable: Showable[T]): String =
showable.show(t)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy