Skip to content

Use iter2--pp-to-string for all tracing output #4

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

telotortium
Copy link

Make the output of this much easier to read for complex functions.

See #3

Make the output of this much easier to read for complex functions.

See doublep#3
@doublep
Copy link
Owner

doublep commented Apr 13, 2022

General idea is fine, but parameter indent-by of iter2--pp-to-string is used to indent subsequent lines so that they align nicely with the first line. E.g. in (format "FORM: %s" (iter2--pp-to-string form 60 6)) number 6 is the length of string "FORM: ". So, in places where you add calls to the function 6 is likely not correct.

Also, you'd need to make sure that the tests pass. If needed, you can adjust the tests rather than the code, they are supposed to assert expected output, not be fixed in stone.

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

Successfully merging this pull request may close these issues.

2 participants