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

[Feature request] Toggle verbose mode #41

Open
lilactown opened this issue Aug 6, 2019 · 2 comments
Open

[Feature request] Toggle verbose mode #41

lilactown opened this issue Aug 6, 2019 · 2 comments

Comments

@lilactown
Copy link

NOTE: Wasn’t sure where to post this; I primarily use the iOS Replete app to test out things while I’m on my iPad, but imagine this could be useful on all platforms.

I’m wondering if it is possible to toggle “verbose” mode similar to what planck offers, where it would print the generated JS code alongside the result of a given REPL invocation.

This would help when I’m trying to experiment various approaches to problems and want to know what the generated source would be.

@mfikes
Copy link
Member

mfikes commented Aug 6, 2019

We could do that. What I always do is (set! *print-fn-bodies* true) and then wrap the code I'd like to see in an anonymous fn and evaluate it:

IMG_0299

@lilactown
Copy link
Author

Thanks! I’ll use that tip for now.

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

2 participants