arrow-fx-stm / arrow.fx.stm.internal

Package arrow.fx.stm.internal

Types

Branch sealed class Branch<out A>
Hamt Low level stm datastructure which can be used to efficiently implement other datastructures like Map/Set on top.data class Hamt<A>
RetryException object RetryException : Throwable

Exceptions

BlockedIndefinitely In some special cases it is possible to detect if a STM transaction blocks indefinitely so we can abort here.class BlockedIndefinitely : Throwable

Extensions for External Classes

kotlin.Int  

Properties

ARR_SIZE const val ARR_SIZE: Int
DEPTH_STEP const val DEPTH_STEP: Int
MASK const val MASK: Int

Functions

alterHamtWithHash fun <A> STM.alterHamtWithHash(hamt: Hamt<A>, hash: Int, test: (A) -> Boolean, fn: (A?) -> A?): Boolean
clearHamt fun <A> STM.clearHamt(hamt: Hamt<A>): Unit
lookupHamtWithHash fun <A> STM.lookupHamtWithHash(hmt: Hamt<A>, hash: Int, test: (A) -> Boolean): A?
newHamt fun <A> STM.newHamt(): Hamt<A>
pair fun <A> STM.pair(depth: Int, hash1: Int, branch1: Branch<A>, hash2: Int, branch2: Branch<A>): Hamt<A>

Do you like Arrow?

Arrow Org
<