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

bREPL format #382

Open
burningTyger opened this issue Sep 17, 2016 · 0 comments
Open

bREPL format #382

burningTyger opened this issue Sep 17, 2016 · 0 comments

Comments

@burningTyger
Copy link
Contributor

I noticed that the bREPL formatting is difficult to read:

cljs.user> (dom/append! (dom/by-id "shoppingForm")
                        "<div class='help'>Click to calculate</div>")
#object[HTMLFormElement [object HTMLFormElement]]

I kept assuming the last line was also meant to be typed ... doesn't really work :)

Nowadays the repl makes use of a multiline prompt that looks like this:

cljs.user=> (dom/append! (dom/by-id "shoppingForm")
       #_=>          "<div class='help'>Click to calculate</div>")
#object[HTMLFormElement [object HTMLFormElement]]

This way it's easier to spot the return value.

Also, I think it's better not to format the bREPL input/output as clj but plain code. If formatted that way markdown assumes it is Syntax and also tries to format the docstrings.

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