You can. Using core logic 0.8 alpha thanks to the newly introduced cKanren
extensions. It's mentioned in the (or another, I'm not sure at the moment)
video.
Am 07.08.2012 12:20 schrieb "Jim - FooBar();" <jimpil1...@gmail.com>:

> On 07/08/12 04:07, David Nolen wrote:
>
>> You have to be careful when using Clojure or Java operations in
>> core.logic programs. I would recommend avoiding it until you're comfortable
>> with writing pure core.logic programs.
>>
>
> ok, so I watched your video (again!) and you make it clear that one cannot
> use relational operators in logic programs...I sort of knew that - that is
> why I'm using core.logic.arithmetic operators instead of the regular [<,
> >,>=, <=. It turns out that I cannot use [+, -] or 'Math/abs' either yes?
> Have I understood correctly? what would I do instead for the difference and
> how would I get the absolute value of the difference? any pointers?
>
> Jim
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscribe@**googlegroups.com<clojure%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/**group/clojure?hl=en<http://groups.google.com/group/clojure?hl=en>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to