Fork me on GitHub
#lumo
<
2018-04-05
>
richiardiandrea02:04:33

@mfikes I was looking at the demunge code on planck (and lumo) and in particular this: https://github.com/mfikes/planck/blob/master/planck-cljs/src/planck/repl.cljs#L1158-L1164

richiardiandrea02:04:18

it looks like it is trying to parse what is coming from the stacktrace, but I personally receive the following input: cljs.core.LazySeq.cljs$core$ISeqable$_seq$arity$1

richiardiandrea02:04:47

so in this case the regex does not seems to work and I was wondering if you receive something different in planck

richiardiandrea02:04:47

I will try to come up with a better question 😄

richiardiandrea02:04:00

But basically the part before the second $ from the end is not the namespace in lumo.

mfikes11:04:31

@richiardiandrea Right, that may be dependent on the stacktraces produced by JavaScriptCore. As a concrete example,

cljs$core$ISeqable$_seq$arity$1@cljs/core.js:11597:14
ends up in the stacktrace for (map ffirst [1]) in JavaScriptCore, while in Lumo, node you get
cljs.core.LazySeq.cljs$core$ISeqable$_seq$arity$1 (NO_SOURCE_FILE <embedded>:800:255)

👍 4
richiardiandrea14:04:04

Thanks for confirming!