sealed abstract class Inject[F[_], G[_]] extends ~>[F, G]
Inject type class as described in "Data types a la carte" (Swierstra 2008).
- Source
- Inject.scala
- See also
http://www.staff.science.uu.nl/~swier004/Publications/DataTypesALaCarte.pdf
- Alphabetic
- By Inheritance
- Inject
- NaturalTransformation
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
Concrete 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
- def andThen[H[_]](f: ~>[G, H]): ~>[F, H]
- Definition Classes
- NaturalTransformation
- def apply[A](fa: F[A]): G[A]
- Definition Classes
- Inject → NaturalTransformation
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def compose[E[_]](f: ~>[E, F]): ~>[E, G]
- Definition Classes
- NaturalTransformation
- 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
- def narrow[FF[_]](implicit ev: <~~<[FF, F]): ~>[FF, G]
- Definition Classes
- NaturalTransformation
- 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()
- def or[H[_]](hg: ~>[H, G]): ~>[[γ$0$]Coproduct[F, H, γ$0$], G]
Combines this scalaz.NaturalTransformation with another one to create one that can transform scalaz.Coproduct.
Combines this scalaz.NaturalTransformation with another one to create one that can transform scalaz.Coproduct.
The current NaturalTransformation will be used to transform the Left (
F
) value of the scalaz.Coproduct while the other one will be used to transform the Right (H
) value.- Definition Classes
- NaturalTransformation
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unapply[A](ga: G[A]): Option[F[A]]
- 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()
- def widen[GG[_]](implicit ev: >~~>[GG, G]): ~>[F, GG]
- Definition Classes
- NaturalTransformation