Invariant

trait Invariant[F[_]]
Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def imap[A, B](fa: F[A])(to: A => B, from: B => A): F[B]
def xmap[A, B](fa: F[A])(to: A => Either[ConstraintError, B], from: B => A): F[B]