Module canrun::value[][src]

Expand description

Contain individual resolved values or variables that can be bound through unification.

Values are parameterized with the type they can contain. This ensures that they can only be unified with values of the same type, and they can only be added to states with a compatible domain.

Macros

Easy conversion of LVar<T> and T values into Val<T>.

Structs

A logical variable that represents a potential value of type T.

Enums

The possible states a value can be in.

Traits

Helper for converting into Val<T>.

Extract a fully resolved T from a Val<T>.

Functions

Create a new logical var.