trait Functor[F[_]] extends Scalan.Cont[F]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Functor
- Cont
- TypeDesc
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def lift[T](implicit eT: Scalan.Elem[T]): Scalan.Elem[F[T]]
Given a descriptor of type
T
produced descriptor of typeF[T]
.Given a descriptor of type
T
produced descriptor of typeF[T]
.- Definition Classes
- Cont
- abstract def map[A, B](a: Scalan.Ref[F[A]])(f: (Scalan.Ref[A]) => Scalan.Ref[B]): Scalan.Ref[F[B]]
- abstract def unapply[T](e: Scalan.Elem[_]): Option[Scalan.Elem[F[T]]]
Recogniser of type descriptors constructed by this type costructor.
Recogniser of type descriptors constructed by this type costructor. This can be used in generic code, where F is not known, but this descriptor is available.
- Definition Classes
- Cont
- abstract def unlift[T](implicit eFT: Scalan.Elem[F[T]]): Scalan.Elem[T]
Given a descriptor of type
F[T]
extracts a descriptor of typeT
.Given a descriptor of type
F[T]
extracts a descriptor of typeT
.- Definition Classes
- Cont
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
- 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 getName(f: (Scalan.TypeDesc) => String): String
Type string of this type constructor.
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isFunctor: Boolean
Whether the type constructor
F
is an instance of Functor type class.Whether the type constructor
F
is an instance of Functor type class.- Definition Classes
- Cont
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val name: String
- Definition Classes
- TypeDesc
- 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
- TypeDesc → 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()