Module canrun::collections::lvec

source ·
Expand description

A Vec-like data structure with Value values.

Structs

Create a Goal that attempts to unify a Value<T> with the item at a specific index in a LVec<T>. Create with get.
A Vec-like data structure with Value values.
A Goal that attempts to unify a Value<T> with any of the items in a LVec<T>. Create with member.
A Goal that attempts to unify an LVec<T> with a slice from another LVec<T> defined by a [‘Range’]. Create with slice().
Assert that LVec a is a subset of LVec b. Create with subset.

Functions

Create a Goal that attempts to unify a Value<T> with the item at a specific index in a LVec<T>.
Create a Goal that attempts to unify a Value<T> with any of the items in a LVec<T>.
Create a Goal that attempts to unify an LVec<T> with a slice from another LVec<T> defined by a [‘Range’].
Assert that LVec a is a subset of LVec b.