Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc doesnt't work #5

Open
mfikes opened this issue Jun 20, 2020 · 2 comments
Open

doc doesnt't work #5

mfikes opened this issue Jun 20, 2020 · 2 comments

Comments

@mfikes
Copy link
Owner

mfikes commented Jun 20, 2020

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
Copy link
Owner Author

mfikes commented Jun 21, 2020

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 added a commit that referenced this issue Jun 21, 2020
@mfikes
Copy link
Owner Author

mfikes commented Jun 21, 2020

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)

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

No branches or pull requests

1 participant