Iso

@implicitNotFound("Could not prove ${A} is isomorphic to ${B}.")
trait Iso[A, B]
Companion:
object
Source:
Iso.scala
class Object
trait Matchable
class Any
Iso[A, B]

Value members

Abstract methods

def from(b: B): A
Source:
Iso.scala
def to(a: A): B
Source:
Iso.scala

Concrete methods

final def inverse: Iso[B, A]
Source:
Iso.scala