Iso
dev.constructive.eo.optics.Iso$package.Iso
object Iso
Constructor for Iso — a bijective single-focus optic, backed by Direct. The Iso type alias above names the concrete BijectionIso for the monomorphic case, so ascribing it is safe; Iso.apply returns that class carrying the fused compose overloads and capability mixins. Consuming signatures should still demand a capability (CanGet[S, A], CanReverseGet[S, A], …) rather than name Iso. An iso encodes a data-shape bijection. Direct[X, A] = A carries no leftover, so every Iso operation reduces to plain function application.
Attributes
Members list
In this article