carpenter/table

Generic operations on every table type.

Types

pub opaque type Table(k, v)

Functions

pub fn drop(table: Table(a, b)) -> Nil

Deletes the entire table.

pub fn give_away(
  table: Table(a, b),
  pid: Pid,
  gift_data: c,
) -> Nil

Give the table to another process.

pub fn name(table: Table(a, b)) -> Atom
pub fn new(name: Atom) -> Table(a, b)
Search Document