Class

scalaz.syntax

FunctorOps

Related Doc: package syntax

Permalink

final class FunctorOps[F[_], A] extends Ops[F[A]]

Wraps a value self and provides methods related to Functor

Source
FunctorSyntax.scala
Linear Supertypes
Ops[F[A]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FunctorOps
  2. Ops
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def >|[B](b: ⇒ B): F[B]

    Permalink
  5. implicit val F: Functor[F]

    Permalink
  6. final def as[B](b: ⇒ B): F[B]

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def cosequence[G[_], B](implicit ev: ===[A, G[B]], D: Distributive[G]): G[F[B]]

    Permalink
  10. final def cotraverse[G[_], B, C](f: (F[B]) ⇒ C)(implicit ev: ===[A, G[B]], D: Distributive[G]): G[C]

    Permalink
  11. final def distribute[G[_], B](f: (A) ⇒ G[B])(implicit D: Distributive[G]): G[F[B]]

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def fmap[B](f: (A) ⇒ B): F[B]

    Permalink

    Alias for map, since map can't be injected as syntax if the implementing type already had a built-in .map method.

    Alias for map, since map can't be injected as syntax if the implementing type already had a built-in .map method.

    Example:

    scala> import scalaz.Scalaz._
    
    scala> val m: Map[Int, String] = Map(1 -> "hi", 2 -> "there", 3 -> "you")
    
    scala> m.fmap(_ ++ "!")
    res0: Map[Int,String] = Map(1 -> hi!, 2 -> there!, 3 -> you!)
  16. final def fpair: F[(A, A)]

    Permalink
  17. final def fpoint[G[_]](implicit arg0: Applicative[G]): F[G[A]]

    Permalink
  18. final def fproduct[B](f: (A) ⇒ B): F[(A, B)]

    Permalink
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. final def map[B](f: (A) ⇒ B): F[B]

    Permalink
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. val self: F[A]

    Permalink
    Definition Classes
    FunctorOpsOps
  27. final def strengthL[B](b: B): F[(B, A)]

    Permalink
  28. final def strengthR[B](b: B): F[(A, B)]

    Permalink
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def void: F[Unit]

    Permalink
  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def widen[B](implicit ev: <~<[A, B]): F[B]

    Permalink
  36. final def [B](f: (A) ⇒ B): F[B]

    Permalink

Inherited from Ops[F[A]]

Inherited from AnyRef

Inherited from Any

Ungrouped