scalaz.syntax

IdOps

final class IdOps[A] extends AnyVal

Source
IdOps.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. IdOps
  2. AnyVal
  3. NotNull
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IdOps(self: A)

Value Members

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

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

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

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

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

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. 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.

  7. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  8. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  9. 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.

  10. val self: A

  11. final def squared: (A, A)

  12. def toString(): String

    Definition Classes
    Any
  13. 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.

  14. 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.

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

    Applies self to the provided function.

    Applies self to the provided function. The Thrush combinator.

  16. final def [B](f: (A) ⇒ B): B

    Applies self to the provided function.

    Applies self to the provided function. The Thrush combinator.

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

Ungrouped