scalaz.syntax

IdOps

trait IdOps[A] extends Ops[A]

Source
IdOps.scala
Linear Supertypes
Ops[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. IdOps
  2. Ops
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def self: A

    Definition Classes
    Ops

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def <|(f: (A) ⇒ Any): A

    Alias for unsafeTap.

  5. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  6. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  7. final def ??(d: ⇒ A)(implicit ev: <:<[Null, A]): A

    Returns self if it is non-null, otherwise returns d.

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def doWhile(f: (A) ⇒ A, p: (A) ⇒ Boolean): A

    Repeatedly apply f, seeded with self, checking after each iteration whether the predicate p holds.

  11. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  17. def left[B]: \/[A, B]

  18. def matchOrZero[B](pf: PartialFunction[A, B])(implicit arg0: Monoid[B]): B

    returns

    the result of pf(value) if defined, otherwise the the Zero element of type B.

  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. def right[B]: \/[B, A]

  23. final def squared: (A, A)

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

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. final def unsafeTap(f: (A) ⇒ Any): A

    Applies self to the provide function for its side effect, and returns self.

    Applies self to the provide function for its side effect, and returns self. The Kestrel combinator. Mostly for use with dodgy libraries that give you values that need additional initialization or mutation before they're valid to use.

    The name tap comes from the Ruby method: http://ruby-doc.org/core-2.0.0/Object.html#method-i-tap which allows you to "tap into" a method call chain, in order to perform operations on intermediate results within the chain. unsafe because it enables side effects.

  27. def visit[F[_]](p: PartialFunction[A, F[A]])(implicit arg0: Applicative[F]): F[A]

    If the provided partial function is defined for self run this, otherwise lift self into F with the provided scalaz.Applicative.

  28. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def whileDo(f: (A) ⇒ A, p: (A) ⇒ Boolean): A

    Repeatedly apply f, seeded with self, checking before each iteration whether the predicate p holds.

  32. final def wrapNel: NonEmptyList[A]

  33. final def |>[B](f: (A) ⇒ B): B

    Applies self to the provided function.

    Applies self to the provided function. The Thrush combinator.

Inherited from Ops[A]

Inherited from AnyRef

Inherited from Any

Ungrouped