Listex. Item
(Listex v0.1.0)
View Source
One element of a list.
Summary
Functions
Builds an item, generating an id unless one is given.
Types
@type t() :: %Listex.Item{content: term(), id: Listex.ID.t(), rev: non_neg_integer()}
Functions
@spec new(term(), Listex.ID.t() | nil) :: t()
Builds an item, generating an id unless one is given.