(for [j (range 3)]
(into [:tr [:td j]]
(for [i (range 3)]
[:td i])))
On Mon, Feb 15, 2016 at 10:15 AM, Sonny To <[email protected]
<javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:
> I am using reagent to generate html but its not specific to reagent.
> This is a concocted example. I trying to create this structure:
>
> (for [j (range 3)]
> [:tr
> [:td j]
> (for [i (range 3)]
> [:td i])])
>
> I need to unwrap the sequence generated by the 2nd for.
>
> what is the simplest way to do this?
>
> thanks,
> Sonny
>
> --
> 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]
> <javascript:_e(%7B%7D,'cvml','clojurescript%[email protected]');>
> .
> To post to this group, send email to [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>.
> Visit this group at https://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 https://groups.google.com/group/clojurescript.