scalaz

Identity

trait Identity [A] extends Equals with IdentitySugar[A]

Attributes
sealed
Source
Identity.scala
Linear Supertypes
IdentitySugar[A], Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Identity
  2. IdentitySugar
  3. Equals
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Type Members

  1. trait NaturalEqual extends AnyRef

Abstract Value Members

  1. def value : A

    Attributes
    abstract

Concrete Value Members

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def /== (a: A)(implicit e: Equal[A]): Boolean

  5. def <&> [B] (b: ⇒ B): $colon$amp$colon[A, B]

    A pair lazy in its right value, with this value on the left and the given value on the right.

  6. def <===> (a: A)(implicit m: MetricSpace[A]): Int

  7. def == (arg0: AnyRef): Boolean

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

    Attributes
    final
    Definition Classes
    Any
  9. def === (a: A)(implicit e: Equal[A]): Boolean

  10. def ?? (d: ⇒ A)(implicit ev: <:<[Null, A]): A

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

  11. def ?|? (a: A)(implicit o: Order[A]): Ordering

  12. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  13. def assert_=== [B] (b: B)(implicit e: Equal[A], s: Show[A], ev: <:<[B, A]): Unit

    Raises an error if value ≠ b, according to the given Equal.

    Raises an error if value ≠ b, according to the given Equal. The message is formated with the given Show.

  14. def assert_≟ [B] (b: B)(implicit e: Equal[A], s: Show[A], ev: <:<[B, A]): Unit

    Alias for assert_===

    Alias for assert_===

    Definition Classes
    IdentitySugar
  15. def canEqual (o: Any): Boolean

  16. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. def cons [M] (m: M)(implicit r: Reducer[A, M]): M

    Prepend the value to a monoid for use in right-to-left reduction

  18. def constantState [S] (s: ⇒ S): State[S, A]

  19. def doWhile (f: (A) ⇒ A, p: (A) ⇒ Boolean): A

    Attributes
    final
    Annotations
    @tailrec()
  20. def dual : Dual[A]

  21. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  22. def equal [A] (f: (A, A) ⇒ Boolean): Equal[A]

    Definition Classes
    Equals
  23. def equalA [A] : Equal[A]

    Constructs an Equal instance for type A based on Any.==.

    Constructs an Equal instance for type A based on Any.==.

    Definition Classes
    Equals
  24. def equalBy [A, B] (f: (A) ⇒ B)(implicit arg0: Equal[B]): Equal[A]

    Definition Classes
    Equals
  25. def equals (o: Any): Boolean

    Definition Classes
    Identity → AnyRef → Any
  26. def fail [X] : Validation[A, X]

  27. def failNel [X] : ValidationNEL[A, X]

  28. def finalize (): Unit

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  30. def gt (a: A)(implicit o: Order[A]): Boolean

  31. def gte (a: A)(implicit o: Order[A]): Boolean

  32. def hashCode (): Int

    Definition Classes
    Identity → AnyRef → Any
  33. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  34. def iterate [M[_]] (f: (A) ⇒ A)(implicit p: Pure[M], m: Monoid[M[A]]): M[A]

  35. def leaf : Tree[A]

  36. def left [B] : Either[A, B]

  37. def logger [L] : Logger[L, A]

    Attaches a logger to this value, which accepts log values of the given type L

  38. def lt (a: A)(implicit o: Order[A]): Boolean

  39. def lte (a: A)(implicit o: Order[A]): Boolean

  40. def mapply [F[_], B] (f: F[(A) ⇒ B])(implicit ftr: Functor[F]): F[B]

  41. def matchOrZero [B] (pf: PartialFunction[A, B])(implicit arg0: Zero[B]): B

    returns

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

  42. def max (a: A)(implicit o: Order[A]): A

  43. def min (a: A)(implicit o: Order[A]): A

  44. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  45. def node (subForest: Tree[A]*): Tree[A]

  46. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  47. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  48. def ok : Value[A]

  49. def pair : (A, A)

  50. def print (implicit s: Show[A]): Unit

  51. def println (implicit s: Show[A]): Unit

  52. def pure [F[_]] (implicit p: Pure[F]): F[A]

  53. def pureUnit [M[_], N] (implicit m: Pure[M], r: Reducer[A, N]): M[N]

    Convert the value into a monoid in a pointed functor

  54. def repeat [M[_]] (implicit p: Pure[M], m: Monoid[M[A]]): M[A]

  55. def replicate [M[_]] (n: Int, f: (A) ⇒ A = a => a)(implicit p: Pure[M], m: Monoid[M[A]]): M[A]

  56. def right [B] : Either[B, A]

  57. def set [W] (w: W): Writer[W, A]

    Constructs a writer with the given value for writing

  58. def show (implicit s: Show[A]): List[Char]

  59. def shows (implicit s: Show[A]): String

  60. def snoc [C] (c: C)(implicit r: Reducer[C, A]): A

    Append the value to a monoid for use in left-to-right reduction

  61. def some : Option[A]

  62. def squared : (A, A)

  63. def state [S] : State[S, A]

  64. def success [X] : Validation[X, A]

  65. def successNel [X] : ValidationNEL[X, A]

  66. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  67. def text (implicit s: Show[A]): Text

  68. def toString (): String

    Definition Classes
    Identity → AnyRef → Any
  69. def unfold [M[_], B] (f: (A) ⇒ Option[(B, A)])(implicit p: Pure[M], m: Monoid[M[B]]): M[B]

  70. def unfoldTree [B] (f: (A) ⇒ (B, () ⇒ Stream[A])): Tree[B]

  71. def unfoldTreeM [B, M[_]] (f: (A) ⇒ M[(B, Stream[A])])(implicit m: Monad[M]): M[Tree[B]]

  72. def unit [M] (implicit r: Reducer[A, M]): M

    Convert the value into a monoid

  73. def wait (): Unit

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

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

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

    Attributes
    final
    Annotations
    @tailrec()
  77. def wrapNel : NonEmptyList[A]

  78. def zipper : Zipper[A]

  79. def |+| (a: ⇒ A)(implicit s: Semigroup[A]): A

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

  81. def η [F[_]] (implicit p: Pure[F]): F[A]

    Alias for scalaz.Identity#pure

    Alias for scalaz.Identity#pure

    Definition Classes
    IdentitySugar
  82. def σ : Dual[A]

    Alias for scalaz.Identity#dual

    Alias for scalaz.Identity#dual

    Definition Classes
    IdentitySugar
  83. def (a: A)(implicit e: Equal[A]): Boolean

    Alias for scalaz.Identity#===

    Alias for scalaz.Identity#===

    Definition Classes
    IdentitySugar
  84. def (a: A)(implicit e: Equal[A]): Boolean

    Alias for scalaz.Identity#/==

    Alias for scalaz.Identity#/==

    Definition Classes
    IdentitySugar
  85. def (a: ⇒ A)(implicit s: Semigroup[A]): A

    Alias for scalaz.Identity#|+|

    Alias for scalaz.Identity#|+|

    Definition Classes
    IdentitySugar

Inherited from IdentitySugar[A]

Inherited from Equals

Inherited from AnyRef

Inherited from Any