scalaz

# Identity

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

Attributes
sealed
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

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

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.

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

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

Attributes
final
Definition Classes
Any

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

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

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

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

Attributes
final
Annotations
@tailrec()

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

28. #### def finalize (): Unit

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

Attributes
final
Definition Classes
AnyRef → Any

32. #### def hashCode (): Int

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

Attributes
final
Definition Classes
Any

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

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

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.

44. #### def ne (arg0: AnyRef): Boolean

Attributes
final
Definition Classes
AnyRef

46. #### def notify (): Unit

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

Attributes
final
Definition Classes
AnyRef

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

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

Constructs a writer with the given value for writing

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

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

Attributes
final
Definition Classes
AnyRef

68. #### def toString (): String

Definition Classes
Identity → AnyRef → Any

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()

Attributes
final
Annotations
@tailrec()

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