Skip to content

zaach/ukanren.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

µkanren.js

This is an implementation of µKanren in JavaScript.

TODO: infinite streams

example

var u = require('./');
var assert = require('assert');

assert.deepEqual(
    u.callFresh(function(q) { return u.eq(5, q); })(u.emptyState()),
    [ [ { '0': 5 }, 1 ] ]
  );

Cheers, zii

About

µKanren in JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published