IdentityOps

zio.prelude.IdentitySyntax.IdentityOps
implicit class IdentityOps[A](l: A)

Provides infix syntax for combining two values with an associative operation.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def identity(implicit id: Identity[A]): A

Returns the identity element associated with values of this type.

Returns the identity element associated with values of this type.

Attributes