Fork me on GitHub
#core-logic
<
2021-11-16
>
Ben Sless20:11:34

Has anyone tried or explored the possibility of implementing the core.logic streams as reducibles or iterables and not as lazy sequences?

Ben Sless06:11:16

I think this may be the piece I needed to treat Choice directly as reducible https://github.com/halgari/odin/blob/master/src/com/tbaldridge/odin/contexts/data.clj#L9 Maybe I'll just need to tease apart the pull from take

hiredman20:11:50

The way minikanren handles branches by interleaving makes expressing it as a reduce tricky

hiredman20:11:38

I think someone wrote a datalog in clojure based on reduce, Odin maybe?

Ben Sless21:11:20

From chasing down the papers, isn't it the only way to guarantee fairness in the implementation?