DEVELOPMENT EDITION · 769442725406
Examples
Library exercises
These complete projects exercise real supplied interfaces. Run from the repository root, substituting strings, numerics or collections for FAMILY:
veradic prove --project docs/manuals/examples/library/FAMILY/verada.toml
veradic run --project docs/manuals/examples/library/FAMILY/verada.toml
veradic build --project docs/manuals/examples/library/FAMILY/verada.toml -o library-demo
./library-demo- Strings: nested bounded generic, Latin-1 conversion, character sets, trim, and independent logical Text copies. Expected output is beside the source.
- Numerics: executable Big_Integer, the supplied Float Sqrt instance with its actual public bounds, and nanosecond time-unit construction.
- Collections: Vibe list copy/pop, dictionary replacement, and set idempotent add, using the actual underlying library APIs.
- Generic declarations: complete Vada/Varc declaration contexts for all supplied imports and generic instances, including nested I/O/string generics and the typed deallocation procedure. This checks declaration availability; its empty body does not exercise every operation or execute ghost models.
The validation program uses isolated scratch copies, checks expected output and adds selected existing client corpora (Vada/Varc containers, models, arenas, files, big numbers and C interfaces). It records which cases actually ran. A client proof trusts embedded contracts and is not a fresh proof of every library body. The complete Library Reference explains capacity, ownership, invalidated positions/cursors, absent operations and proof/runtime limitations.