I prefer -> in CLJ and CLJS since it's more flexible, I don't know if
there's an argument against it.

On Mon, Sep 8, 2014 at 4:17 PM, stephanos <[email protected]> wrote:

> Thanks, Jeremy!
>
> I assume it is specific to ClojureScript. Could you also use the '->'
> macro? Which one is more idiomatic?
>
>
> On Monday, September 8, 2014 10:15:11 PM UTC+2, Jeremys wrote:
> > On Monday, September 8, 2014 10:00:32 PM UTC+2, stephanos wrote:
> > > Hey there,
> > >
> > > I'm trying to understand virtually everything in Om's TodoMVC example
> app and have a hard time finding information about the (I'm assuming) macro
> '..' (e.g. '(.. e -target -checked)').
> > >
> > > Can someone point me to its documentation?
> > >
> > > Regards
> > > Stephan
> >
> > Hi,
> >
> > it is a macro to help lookup properties of objects.
> > In your case;
> >
> > (.. e -target -checked) <==> (.-checked (.-target e))
> >
> > or in javascript e.target.checked
> >
> > cheers,
> >
> > Jeremy
>
> --
> Note that posts from new members are moderated - please be patient with
> your first post.
> ---
> You received this message because you are subscribed to the Google Groups
> "ClojureScript" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/clojurescript.
>

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to