Fragment

@implicitNotFound("Could not find an instance of Fragment for ${A}") @typeclass trait Fragment[A] extends Serializable
Companion
object
trait Serializable
class Object
trait Matchable
class Any

Value members

Abstract methods

def fragment(a: A): Option[String]
Implicitly added by optionFragment
def fragment(a: A): Option[String]

Concrete methods

def contramap[B](f: B => A): Fragment[B]
Implicitly added by optionFragment
def contramap[B](f: B => A): Fragment[B]