Module

Erl.Kernel.Ets

Package
erl-kernel
Repository
id3as/purescript-erl-kernel

#UpdateOp Source

data UpdateOp :: Type

#CreateOption Source

newtype CreateOption

Constructors

#Ref Source

data Ref :: Type

#updateOp Source

#Table Source

newtype Table

Constructors

#insert2 Source

insert2 :: forall k v. Table -> Tuple2 k v -> Effect Unit

#insert3 Source

insert3 :: forall k v v2. Table -> Tuple3 k v v2 -> Effect Unit

#updateCounter Source

updateCounter :: forall k. Table -> k -> UpdateOp -> Effect Int

#increment Source

increment :: forall k v. Table -> k -> Int -> v -> Effect v

#lookupElement Source

lookupElement :: forall k v. Table -> k -> Int -> Effect v

#updateElement Source

updateElement :: forall k v. Table -> k -> Int -> v -> Effect Boolean

#updateElements Source

updateElements :: forall k v. Table -> k -> List (Tuple2 Int v) -> Effect Boolean

#match Source

match :: forall match result. Table -> match -> Effect (List result)

#select Source

select :: forall result. Table -> SelectOp -> Effect (List result)

#selectOne Source

selectOne :: forall result. Table -> SelectOp -> Effect (Maybe result)

#selectOp Source

selectOp :: forall k v. k -> v -> SelectOp

#SelectOp Source

data SelectOp :: Type