arrow-core / arrow.core.extensions / EitherHash

EitherHash

interface ~~EitherHash~~<L, R> : Hash<Either<L, R>> Deprecated: Hash is deprecated in favor of hashCode(), since Kotlin’s Std doesn’t take Hash into account

Functions

hash open fun Either<L, R>.hash(): Int
hashWithSalt open fun Either<L, R>.hashWithSalt(salt: Int): Int
HL abstract fun HL(): Hash<L>
HR abstract fun HR(): Hash<R>

Do you like Arrow?

Arrow Org
<