Kanren::State(T)
Inherits Struct < Value < Object
Constructors
Instance methods
Return the value bound to the given Var, or raise KeyError if unbound.
Return the value bound to the given Var, or nil if unbound.
Return true if the given Var is bound to a value in this State.
Return the stream of states in which the given Var has been unified with the given value. If this is logically inconsistent with the current state, the returned stream of states will be empty.
Return the stream of states in which the given two values are unified (constrained to be the same value). If the values are not equal, the returned stream of states will be empty.
Return the stream of states in which the given two Vars are unified (constrained to have the same value). If this is logically inconsistent with the current state, the returned stream of states will be empty.