core-logic

algernon 2015-10-13T12:17:34.000008Z

@jetzajac: (project) can help: user=> (run* [q] (conde [(== q 1)] [(== q "foobar")]) (project [q] (== (type q) Long))) (1)

algernon 2015-10-13T12:17:50.000009Z

mind you, project is non-relational

jetzajac 2015-10-13T12:18:35.000010Z

yeah, that's kind of solution but I need a relational version of it if I want to write some interpreter.

jetzajac 2015-10-13T12:20:39.000015Z

Thus I'm not sure why it's not in the library then