Surjection

smithy4s.Surjection
See theSurjection companion trait
object Surjection

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Surjection.type

Members list

Value members

Concrete methods

def apply[A, B](to: A => Either[String, B], from: B => A): Surjection[A, B]
def catching[A, B](to: A => B, from: B => A): Surjection[A, B]