core-logic

Ben Sless 2021-11-16T20:11:34.017900Z

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

Ben Sless 2021-11-26T06:38:16.032100Z

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

2021-11-16T20:58:50.022900Z

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

2021-11-16T20:59:38.023900Z

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

2021-11-16T21:04:31.024900Z

https://github.com/halgari/odin

Ben Sless 2021-11-16T21:30:20.026800Z

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

2021-11-16T21:46:45.027300Z

yes