Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 218 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 218 Bytes

microKanren

python implementation of µKanren

Short example

from microkanren import var

x = var('x')
q = var('q')
body = (x == q) & (x == 3)

for solution in body.run():
    print(solution[q])