Interact with JVM-based plain Clojure from ClojureCLR

2016-02-03 Thread ϖ
Hello all, I've been using core.logic for some code and I haven't read it's ported on ClojureCLR. However, I would like to use that code as game logic and to rely on Unity game engine for the graphical part. That means I have to use Unity and Clojure together: it can be done through Arcadia[1]…

Re: How to use plain Clojure functions in core.logic?

2016-01-27 Thread ϖ
_2 _3] (membero _1 [:a :b]) (membero _2 [:a :b]) (membero _3 (range 4)) (project [_1 _2 _3] (clojure.core.logic/== arrival-state (modifier depart-state _1 _2 _3) ``` On 27/01/2016, 良ϖ <p.de.bois...@gmail.com> wrote

How to use plain Clojure functions in core.logic?

2016-01-26 Thread ϖ
Hi everybody, I have defined a plain Clojure function which has a specific logic inside. It outputs a mutated state given an initial state and some other arguments. Basically, we could say it is like: (defn modifier [basic x y value] (assoc-in basic [x y] value)) I want core.logic to deal with

Parsing Unicode character with Clojure

2015-08-09 Thread ϖ
I've come on some trouble when parsing an Unicode character with Clojure. I know it's likely to be a problem related to Java and not Clojure itself but I'm looking for a Clojurish solution so that's why I'm posting it here. FYI, I have a GNU / Linux OS on the top on which I use emacs 24 in

Re: core logic

2013-06-19 Thread ϖ
Hello Josh, I would be glad you share your code :) Piotr 2013/6/18 David Nolen dnolen.li...@gmail.com This is a variant of the Zebra/Einstein Puzzle. You can probably Google for miniKanren core.logic zebra and find a solution if you get stuck ;) David On Tue, Jun 18, 2013 at 7:57 AM,