datastructures v0.2.7 Data.Protocol.Dictionary protocol

Summary

Types

k()
k() :: any
t()
t() :: term
v()
v() :: any

Functions

delete(self, key)
delete(t, k) :: t
fetch(self, key)
fetch(t, k) :: {:ok, v} | :error
keys(self)
keys(t) :: [k]
put(self, key, value)
put(t, k, v) :: t
values(self)
values(t) :: [v]