I'll add that I knew this, but it took me longer than I expected to
actually find the documentation to point to. I don't know how a new user of
the library would be expected to discover what that symbol means.

On Tue, Nov 20, 2018 at 12:43 PM Justin Smith <[email protected]> wrote:

> :> is a valid Clojure keyword, but has no special meaning on its own.
>
> In Reagent's version of the Hiccup DSL, :> introduces a Reagent component
> defined from a React component
>
> https://github.com/reagent-project/reagent/blob/master/doc/InteropWithReact.md#creating-reagent-components-from-react-components
>
> On Tue, Nov 20, 2018 at 11:27 AM Randy J. Ray <[email protected]> wrote:
>
>> I've been trying to read through and understand the examples in the
>> reagent repo, and I've come across something that I just don't quite get:
>>
>> :>
>>
>> I've looked over all the docs for Clojure, Clojurescript and Hiccup, but
>> find no reference to this. It appears as the first element in vectors in a
>> context that leads me to think it's part of Hiccup. But I'm expecting
>> keywords like ":div", ":p", etc. The ":>" sequence, I guess I'm just not
>> quite getting it?
>>
>> Randy
>> --
>> Randy J. Ray - [email protected] - twitter.com/rjray
>> Silicon Valley Scale Modelers: http://www.svsm.org
>> San Jose, CA
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to [email protected]
>> Note that posts from new members are moderated - please be patient with
>> your first post.
>> To unsubscribe from this group, send email to
>> [email protected]
>> 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 [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to