To view this discussion on the web visit https://groups.google.com/d/msgid/eve-talk/db64e28d-f45f-4f6b-a42b-10092d6a262b%40googlegroups.com.--
You received this message because you are subscribed to a topic in the Google Groups "Eve talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/eve-talk/VeYrrow_Mds/unsubscribe.
To unsubscribe from this group and all its topics, send an email to eve-talk+unsubscribe@googlegroups.com.
To post to this group, send email to eve-...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to eve-talk+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eve-talk/db64e28d-f45f-4f6b-a42b-10092d6a262b%40googlegroups.com.
----- james mccartney
> 2. tags.Actually, your intuition is completely correct. `[tag: "student", tag: "honor-roll"]` works fine and is identical to `[#student #honor-roll]`. It will match a single record that has both values for its tag attribute. There's no requirement that attribute names be unique (and in fact, much of the language wouldn't work if you could only have a single value per attribute!).
In general, Eve doesn't care whether you have 1, 2, or many matches. It will handle the block the just the same for each discrete match. In this case, since the thing you're looking for is a record with two tags, it'll give you each record with both those tags. You could instead query for:```person = [#person]tag = person.tag```which would give you every tag on a person.In that light, hopefully += makes more sense. It simply adds another value to the set of tags on the record.
> 3. if-then: What if the condition is false and there is no else?That just means the block doesn't match. Just like it isn't an error for the query:
To unsubscribe from this group and all its topics, send an email to eve-talk+unsubscribe@googlegroups.com.
To post to this group, send email to eve-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eve-talk/cdc4df8f-c2bc-4ed7-adec-b6754fa28d7e%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eve-talk/cdc4df8f-c2bc-4ed7-adec-b6754fa28d7e%40googlegroups.com.
------- james mccartney
You received this message because you are subscribed to a topic in the Google Groups "Eve talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/eve-talk/VeYrrow_Mds/unsubscribe.
To unsubscribe from this group and all its topics, send an email to eve-talk+u...@googlegroups.com.
To post to this group, send email to eve-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eve-talk/CAF2oGs1mA%2BRCQ23%2B9po0eNqG1KTmBZ24e2CeFrvo1q8GZfcUKg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eve-talk/cdc4df8f-c2bc-4ed7-adec-b6754fa28d7e%40googlegroups.com.
----- james mccartney
James,> OK I think I get it. So if you do this [#student #student #honor-roll] , is that legal? Or it is legal and the second #student get squashed since it is already present in the set.The latter.> If I understand correctly, you are saying the first one: two matchesCorrect!> Was Eve influenced by either Linda / tuple spaces, or the programming language Icon?We've taken influence from a lot of different language, and Linda is something we've looked at in the past. I personally haven't heard of Icon, but maybe Chris has.Corey
You received this message because you are subscribed to the Google Groups "Eve talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eve-talk+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eve-talk/c6dfab4c-3086-4283-99a1-a128a082ed4e%40googlegroups.com.
Was Eve influenced by either Linda / tuple spaces, or the programming language Icon?