trait CoProductInstances extends AnyRef
- Annotations
- @nowarn()
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- CoProductInstances
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- class GenCoProductDisjunctionIso[S <: Coproduct] extends AnyRef
- class GenCoProductEitherIso[S <: Coproduct] extends AnyRef
- class GenCoProductToDisjunction[S] extends AnyRef
- class GenCoProductToEither[S] extends AnyRef
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def coProductDisjunctionIso[S <: Coproduct]: GenCoProductDisjunctionIso[S]
An isomorphism between a coproduct
Sand the sum of its parts.An isomorphism between a coproduct
Sand the sum of its parts.type ISB = Int :+: String :+: Boolean :+: CNil val iso: Iso[ISB, Either[Int, Either[String, Boolean]] = coProductDisjunctionIso[ISB].apply
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0-M1) no replacement
- def coProductEitherIso[S <: Coproduct]: GenCoProductEitherIso[S]
An isomorphism between a coproduct
Sand the sum of its parts.An isomorphism between a coproduct
Sand the sum of its parts.type ISB = Int :+: String :+: Boolean :+: CNil val iso: Iso[ISB, Either[Int, Either[String, Boolean]]] = coProductEitherIso[ISB].apply
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0-M1) no replacement
- def coProductPrism[C <: Coproduct, A](implicit evInject: Inject[C, A], evSelector: Selector[C, A]): Prism[C, A]
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0-M1) no replacement
- def coProductToDisjunction[S]: GenCoProductToDisjunction[S]
An isomorphism between a sum type
S(e.g.An isomorphism between a sum type
S(e.g. a sealed trait) and the sum of its parts.sealed trait S case class A(name: String) extends S case class B(name: String) extends S case class C(otherName: String) extends S val iso: Iso[S, Either[A, Either[B, C])] = coProductToDisjunction[S].apply
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0-M1) no replacement
- def coProductToEither[S]: GenCoProductToEither[S]
An isomorphism between a sum type
S(e.g.An isomorphism between a sum type
S(e.g. a sealed trait) and the sum of its parts.sealed trait S case class A(name: String) extends S case class B(name: String) extends S case class C(otherName: String) extends S val iso: Iso[S, Either[A, Either[B, C]]] = coProductToEither[S].apply
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0-M1) no replacement