datastructures v0.1.1 Data.Array protocol

Summary

Types

i :: integer
t :: term
v :: any

Functions

fetch(self, index)

Specs

fetch(t, i) :: {:ok, v} | :error
set(self, index, value)

Specs

set(t, i, v) :: t