On this page
Verada.Vibe.Tuple_6
Compiler compatibility generic for six-component Vibe tuples.
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
One type actual per component, Item_0 to Item_5. Vibe's tuple annotations instantiate it; programs do not.
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
Place the declaration in a declarative part, with the actuals your program needs.
with Verada.Vibe.Tuple_6;
package Instance_Name is new Verada.Vibe.Tuple_6 (Integer, Integer, Integer, Integer, Integer, Integer);import Verada.Vibe.Tuple_6;
package Instance_Name = new Verada.Vibe.Tuple_6<Integer, Integer, Integer, Integer, Integer, Integer>;
Vibe does not instantiate library generics; 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
Generic formals (declaration) — Generic actuals establish this instance's nominal types and declared operations. Private formals require suitable definite nonlimited actuals; capacity/comparison/float restrictions are shown below. Defaulted comparison is resolved from the actual type, not an automatic proof of ordering laws.
Declared interface:
generic
type Item_0_Type is private;
type Item_1_Type is private;
type Item_2_Type is private;
type Item_3_Type is private;
type Item_4_Type is private;
type Item_5_Type is private;API 002
Tuple (declaration) — Public product record whose numbered fields have the corresponding generic actual types. Compiler-created Vibe tuple instances are compatibility support; another explicit nominal instance is not automatically the same type.
Declared interface:
type Tuple is record
Item_0 : Item_0_Type;
Item_1 : Item_1_Type;
Item_2 : Item_2_Type;
Item_3 : Item_3_Type;
Item_4 : Item_4_Type;
Item_5 : Item_5_Type;
end record;Public nested members: Item_0, Item_1, Item_2, Item_3, Item_4, Item_5. Each field has its corresponding generic Item_N_Type. Field copying and resource behavior follow that actual type.