Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

meta for fns printed twice #189

Closed
mfikes opened this issue Jun 21, 2017 · 2 comments
Closed

meta for fns printed twice #189

mfikes opened this issue Jun 21, 2017 · 2 comments

Comments

@mfikes
Copy link
Collaborator

mfikes commented Jun 21, 2017

Like planck-repl/planck#515

$ lumo
Lumo 1.5.0
ClojureScript 1.9.542
Node.js v7.10.0
 Docs: (doc function-name-here)
       (find-doc "part-of-name-here")
 Source: (source function-name-here)
 Exit: Control+D or :cljs/quit or exit

cljs.user=> (set! *print-meta* true)
true
cljs.user=> ^:foo (fn [])
^{:foo true}
^{:foo true} #object[cljs.core.MetaFn]
cljs.user=> ^:foo [^:bar [] ^:baz (fn [])]
^{:foo true}
[^{:bar true} [] ^{:baz true} ^{:baz true} #object[cljs.core.MetaFn]]
cljs.user=>
@anmonteiro
Copy link
Owner

anmonteiro commented Jun 21, 2017

This looks to be related to Fipp:

cljs.user=> (set! *print-meta* true)
true
cljs.user=> (set! lumo.repl/*pprint-results* false)
false
cljs.user=> ^:foo (fn [])
^{:foo true} #object[cljs.core.MetaFn]

@mfikes
Copy link
Collaborator Author

mfikes commented Jun 21, 2017

Yes, @anmonteiro . Sorry, I should have mentioned. Already fixed in Planck with planck-repl/planck@9126717

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants