Use cljs.pprint.

HTH,
David

On Saturday, June 20, 2015, Roger Gilliar <[email protected]>
wrote:

> I using ClojureScipt and node.js and  would like to pretty print my data
> structures to the console. I tried fipp like this:
>
>  (pprint [{:a {:b 1 :c 2}}])
>
> but that gives:
>
> [
> {
> :a
>
> {
> :b
>
> 1
> ,
>
> :c
>
> 2
> }
> }
> ]
>
>
> Is this the expected behavior ?
>
> --
> 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:;>.
> To post to this group, send email to [email protected]
> <javascript:;>.
> 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