Hrm, how are you going to consume that metadata?

On Wed, Feb 27, 2013 at 4:26 PM, JvJ <kfjwhee...@gmail.com> wrote:

> Actually, I have a quick question.  How could I modify the following code
> to add some metadata to he newly defined relation?
>
> (defmacro defkrel
>   "Macro for defining knowledge-based relations."
>   [nme & rest]
>   `(defrel ~nme
>      ~'agent
>      ~@rest))
>
>
>
> On Wednesday, 27 February 2013 16:17:30 UTC-5, JvJ wrote:
>>
>> Thanks for the quick reply.  I guess I'll go through with my initial plan
>> and see what happens.  Thanks.
>>
>> On Wednesday, 27 February 2013 16:14:49 UTC-5, David Nolen wrote:
>>>
>>> Sounds like an interesting idea though I can't give much guidance about
>>> how to approach it. Curious to know how it goes though!
>>>
>>>
>>> On Wed, Feb 27, 2013 at 3:50 PM, JvJ <kfjwh...@gmail.com> wrote:
>>>
>>>>
>>>> I'm creating something with core.logic that involves multiple
>>>> "agents"(not the same as a clojure agent!) which each have distinct
>>>> knowledge.  I'd like to know the best way of going about separating the
>>>> knowledge base so that it can be accessed by each agent individually.
>>>>
>>>> The simplest thing I can think of is to define each relation with an
>>>> additional agent parameter, but that seems sloppy and I'm not sure if it
>>>> would be efficient.  Is this a good approach, or is there something better
>>>> I can do?
>>>>
>>>> Thanks
>>>>
>>>> --
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Clojure" group.
>>>> To post to this group, send email to clo...@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+u...@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 unsubscribe from this group and stop receiving emails from it, send
>>>> an email to clojure+u...@googlegroups.com.
>>>> For more options, visit 
>>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>>> .
>>>>
>>>>
>>>>
>>>
>>>  --
> --
> 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
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to