class Kanren::Solver(T)

Defined in:

kanren/solver.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(states : Array(Kanren::State(T)) = [State(T).new]) #

[View source]

Instance Method Detail

def branch(count, &) #

[View source]
def fresh(count, &) #

[View source]
def join(a : Var, b : Var) #

[View source]
def join(a : T, b : T) #

[View source]
def join(var : Var, value : T) #

[View source]
def member(var : Var, *values) #

[View source]
def query_var #

[View source]
def solutions #

[View source]