datastructures v0.2.7 Data.Protocol.Stack protocol

Summary

Types

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

Functions

pop(self)
pop(t) :: {:empty, t} | {{:value, v}, t}
push(self, value)
push(t, v) :: t