DEVELOPMENT EDITION · 769442725406
Library Reference
On this page

Verada.Strings.Text_Lists

The unbounded vector of texts, Vibe's list[str].

Read the family guide for representation, selection and resource rules. The complete declaration page retains exact signatures/contracts; the source specification is the implementation baseline.

Availability and ownership

An instance of Verada.Containers.Unbounded.Vectors with Text elements, so it has that generic's declarations and contracts: a limited vector, reclaimed where it ends, whose elements copy as texts do. It is Vibe's list[str]; Text_Operations' Split gives one and Join takes one. No instantiation is needed.

A client proof uses these contracts without proving the body again (see library assurance). Global => null excludes package-global effects, not changes made through an in out argument.

Import and instantiate

with Verada.Strings.Text_Lists;
import Verada.Strings.Text_Lists;

A Vibe module imports this unit's names with from Verada.Strings.Text_Lists import Name; see library use across syntaxes. In Varc, keep each name's declared spelling and write & on arguments the call changes.

Contract and lifecycle reading

A Pre condition is the caller's obligation; a Post is what a normal return guarantees. What a postcondition does not state, a client cannot assume. Ghost functions are for contracts and ghost code. The family guide describes copying, lifetime, order and cost.

API 001

Verada.Strings.Text_Lists (declaration) — The library's instance of Unbounded.Vectors whose elements are Verada.Strings.Texts.Text: Vector, Model, Append and the generic's other declarations, with Element_Type Text.

Declared interface:

package Verada.Strings.Text_Lists is new Verada.Containers.Unbounded.Vectors (Verada.Strings.Texts.Text);