On 6 September 2015 at 09:57, Amith George <strider...@gmail.com> wrote:
>
> Could you elaborate on what you mean by variants being like a key value
> pair?
>

I mean that tags are usually used to describe what the data *is*, whereas
keys are usually used to describe what the data is for. For instance, one
might have a map like:

{:created-date #inst "2015-09-07T12:30:00.000Z"
 :modified-date #inst "2015-09-07T13:00:00.000Z"}

The tags describe what the values are: instances in time. The keys describe
what the data is for: to record when the entity was created and modified.

In the same way, I'd consider variants another way of connecting a data
value with an indicator of its purpose.

- James

-- 
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/d/optout.

Reply via email to