Hi,

Am Freitag, 5. August 2011 01:18:45 UTC+2 schrieb lpetit:
 

> What kind of "strict control over state mutation" stories can we expect 
> when using core.logic ?
> I mean, in the above example, I see no explicit use of refs, and I see 
> somewhat "unmanaged" state change with the introduction of the new category 
> name. This does not look like idiomatic clojure to me (from 10 000 feets, I 
> havent' studied core.logic yet)
>

I agree. Clojure does a lot to separate such concerns. facts modifies two 
atoms. Is this save in all cases?

Another superficial question: Should facts also support maps?

(facts notes
       [{:id 1 :text "My cool widget" :category 1}
        {:id 2 :text "My cool Clojure project" :category 1}
        {:id 3 :text "Walk the dog" :category 2}])

And a last question: Is this something like (or developed to or help to 
move) contrib.datalog?

Sincerely
Meikel

-- 
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