trait AbstractFunctoid[+A, Ftoid[+X] <: AbstractFunctoid[X, Ftoid]] extends AnyRef
- Alphabetic
- By Inheritance
- AbstractFunctoid
- 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 addDependencies(keys: Iterable[DIKey]): Ftoid[A]
- def addDependency(key: DIKey): Ftoid[A]
- def addDependency[B](name: Identifier)(implicit arg0: Tag[B]): Ftoid[A]
- def addDependency[B](implicit arg0: Tag[B]): Ftoid[A]
Add
B
as an unused dependency of this Functoid - def annotateAllParameters(name: Identifier): Ftoid[A]
Add an
@Id(name)
annotation to all unannotated parameters - def annotateParameter[P](name: Identifier)(implicit arg0: Tag[P]): Ftoid[A]
Add an
@Id
annotation to an unannotated parameterP
, e.g.Add an
@Id
annotation to an unannotated parameterP
, e.g. for .annotateParameter[P]("my-id"), transform lambda(p: P) => x(p)
into(p: P @Id("my-id")) => x(p)
- def annotateParameterWhen(name: Identifier)(predicate: (BasicKey) => Boolean): Ftoid[A]
Add an
@Id(name)
annotation to all parameters matchingpredicate
- def ap[B, C](that: Ftoid[B])(implicit ev: <:<[A, (B) => C], tag: Tag[C]): Ftoid[C]
Apply a function produced by
this
Functoid to the argument produced bythat
Functoid.Apply a function produced by
this
Functoid to the argument produced bythat
Functoid.Same as
this.map2(that)((f, a) => f(a))
- 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])
- def flatAp[B](that: Ftoid[(A) => B])(implicit arg0: Tag[B]): Ftoid[B]
Applicative's
ap
method - can be used to chain transformations likeflatMap
.Applicative's
ap
method - can be used to chain transformations likeflatMap
.Apply a function produced by
that
Functoid to the value produced bythis
Functoid.Same as
this.map2(that)((a, f) => f(a))
- 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 map[B](f: (A) => B)(implicit arg0: Tag[B]): Ftoid[B]
- def map2[B, C](that: Ftoid[B])(f: (A, B) => C)(implicit arg0: Tag[C]): Ftoid[C]
- 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()
- def zip[B](that: Ftoid[B]): Ftoid[(A, B)]