esprit icon indicating copy to clipboard operation
esprit copied to clipboard

doc doesnt't work

Open mfikes opened this issue 5 years ago • 2 comments

Looks like print-doc hasn't been copied over / implemented in the Esprit REPL:

cljs.user=> (doc inc)
Error: Cannot read property 'print_doc' of undefined
 at line 35 col 7
throw e__6755__auto__;
      ^
in function called from line 36 col 5
}})()
   ^
at line 1 col 89
...tus:"success",value:eval(d)}}catch(f){var a=f;return{status:...
                              ^

mfikes avatar Jun 20 '20 21:06 mfikes

Fundamentally, we can't require cljs.repl (which would define the desired functions) because cljs.spec.alpha would make the resulting binary ROM too large to fit.

mfikes avatar Jun 21 '20 18:06 mfikes

The issue-5 branch above has a potential solution. But, owing to #10 you won't see the output, and it also causes a crash for some reason if you do (doc map)

mfikes avatar Jun 21 '20 18:06 mfikes