
vs_element(+VS, +I, -X)

   Get an element of a varset by index

Arguments
   VS                  A varset
   I                   A positive integer
   X                   A variable (output)

Type
   library(tentative)

Description

	Get the Ith element of a varset. I must be between 1 and the
	size of the set.
    

Modes and Determinism
   vs_element(+, +, -) is det

Examples
   
    ?- Vars=[A,B,C], vs_create(Vars, VS), vs_element(VS, 1, X).
    VS = ...
    X = C
    Yes (0.00s cpu)
    

See Also
   vs_create / 2, vs_size / 2
