Contramap

final case class Contramap[A, B](underlying: Schema[A], f: B => A) extends Schema[B]
trait Serializable
trait Product
trait Equals
trait Schema[B]
class Object
trait Matchable
class Any

Value members

Concrete methods

override def toString(): String
Definition Classes
Any

Inherited methods

def draw[B <: B](values: NonEmptyList[B]): String
Inherited from
Schema
def prepare[B](f: B => B): Schema[B]
Inherited from
Schema
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def provide(a: B): Schema[Any]
Inherited from
Schema
def render[B <: B]: Render[B]
Inherited from
Schema