ets/table/set

Types

pub type Set(k, v) =
  set.Set(k, v)

Functions

pub fn delete(set: Set(a, b), key: a) -> Set(a, b)

Delete all objects with key key from the table.

pub fn insert(set: Set(a, b), key: a, value: b) -> Set(a, b)

Insert a value into the ets table.

pub fn lookup(set: Set(a, b), key: a) -> Result(b, Nil)

Retrieve a value from the ets table. Return an error if the value could not be found.

pub fn table(set: Set(a, b)) -> Table(a, b)

Return the table for this set object.

Search Document