Iso

io.scalaland.chimney.Iso
See theIso companion object
final case class Iso[First, Second](first: Transformer[First, Second], second: Transformer[Second, First])

Type class representing bidirectional conversion between isomorphic types, where conversion in each can always succeed (total transformation).

Type parameters

First

input type of the first conversion, output type of the second conversion

Second

output type of the first conversion, input type of the second conversion

Value parameters

first

conversion the first type into the second type

second

conversion the second type into the first type

Attributes

See also
Since

1.2.0

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product