Is it possible to gainfully use core.logic from Java code? If so, would greatly appreciate a simple example. If not, could someone point to a pure-Java alternative?
Asked
Active
Viewed 191 times
1
-
Have you seen this answer? Should be no problem. http://stackoverflow.com/questions/2181774/calling-clojure-from-java – Alan Thompson Nov 03 '16 at 21:26
1 Answers
1
You can call clojure code directly from java and you can check the link Alan Thomspon suggested in the comments, but I'm not sure if it will be very convenient to work with (I guess it will not).
Alternatively, as described on the core.logic github repo:
At its heart is an original implementation of miniKanren
On the miniKanren implementations page there are listed two java implementations.
You can check the core tests of java8kanren which have a fair amount of usage examples.

kongeor
- 712
- 1
- 6
- 14