If you want to use Clojure functions from core.logic, use "project". It is
non-relational, so be careful.

Ambrose

On Wed, Aug 15, 2012 at 9:18 PM, Jim - FooBar(); <jimpil1...@gmail.com>wrote:

>  hmmm...good question!!! It can be anything can't it?
> basically I'm trying to assert whether a specific index in a vector is nil
> or not but i am inside a conde statement...Can I still use boolean
> functions like 'nil?'  ?
>
> Jim
>
>
>
>
>
> On 15/08/12 14:07, Ambrose Bonnaire-Sergeant wrote:
>
> What would you expect to happen when you pass not-nilo a logic variable?
>
>  Thanks,
> Ambrose
>
> On Wed, Aug 15, 2012 at 9:02 PM, Jim - FooBar(); <jimpil1...@gmail.com>wrote:
>
>>  Hi everyone,
>>
>> I was thinking about how to invert the 'nilo' relation found in
>> core.logic:
>>
>> (defn nilo
>>   "A relation where a is nil"
>>   [a]
>>   (== nil a))
>>
>>
>> there is a != operator but it is in the arithmetic namespace so i don't
>> expect it to work...
>>
>> 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+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 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 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 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