oops i used the wrong function its supposed to be pp/pprint

On Friday, March 30, 2018 at 6:17:06 AM UTC+3, Sonny To wrote:
>
> Launching ClojureScript REPL for build: dev
> Figwheel Controls:
>           (stop-autobuild)                ;; stops Figwheel autobuilder
>           (start-autobuild [id ...])      ;; starts autobuilder focused on 
> optional ids
>           (switch-to-build id ...)        ;; switches autobuilder to 
> different build
>           (reset-autobuild)               ;; stops, cleans, and starts 
> autobuilder
>           (reload-config)                 ;; reloads build config and 
> resets autobuild
>           (build-once [id ...])           ;; builds source one time
>           (clean-builds [id ..])          ;; deletes compiled cljs target 
> files
>           (print-config [id ...])         ;; prints out build 
> configurations
>           (fig-status)                    ;; displays current state of 
> system
>           (figwheel.client/set-autoload false)    ;; will turn autoloading 
> off
>           (figwheel.client/set-repl-pprint false) ;; will turn pretty 
> printing off
>   Switch REPL build focus:
>           :cljs/quit                      ;; allows you to switch REPL to 
> another build
>     Docs: (doc function-name-here)
>     Exit: Control+C or :cljs/quit
>  Results: Stored in vars *1, *2, *3, *e holds last exception object
> Prompt will show when Figwheel connects to your application
> "asyncInit"
> To quit, type: :cljs/quit
> nil
> cljs.user=> (require '            [cljs.pprint :as pp]            )
> nil
> cljs.user=> (pp/print 12)
> #object[Error Error: No protocol method IWriter.-write defined for type 
> null: ]
>    cljs.core/missing-protocol 
> (jar:file:/home/sto/.m2/repository/org/clojure/clojurescript/1.10.238/clojurescript-1.10.238.jar!/cljs/core.cljs:316:4)
>    cljs.core/-write 
> (jar:file:/home/sto/.m2/repository/org/clojure/clojurescript/1.10.238/clojurescript-1.10.238.jar!/cljs/core.cljs:750:1)
>    Function.cljs.pprint.print.cljs$core$IFn$_invoke$arity$variadic 
> (jar:file:/home/sto/.m2/repository/org/clojure/clojurescript/1.10.238/clojurescript-1.10.238.jar!/cljs/pprin\
> t.cljs:26:4)
>    cljs$pprint$print 
> (jar:file:/home/sto/.m2/repository/org/clojure/clojurescript/1.10.238/clojurescript-1.10.238.jar!/cljs/pprint.cljs:25:1)
> nil
>
>

-- 
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.

Reply via email to