Vibe.Support.Lists (vibe v0.2.3)

Copy Markdown View Source

Small list assembly helpers for append-heavy render/state paths.

These avoid ++ call sites while keeping ordering explicit.

Summary

Functions

append(list, item)

@spec append([term()], term()) :: [term()]

join(left, right)

@spec join([term()], [term()]) :: [term()]

prepend_reversed(items, tail)

@spec prepend_reversed([term()], [term()]) :: [term()]