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

[format] add a list support back by also finding a way to deal with spaces in the 'width' parameter #2242

Open
porres opened this issue Jan 2, 2025 · 0 comments

Comments

@porres
Copy link
Owner

porres commented Jan 2, 2025

list output has challenges, which aren't taken care of in MAX and cyclone/sprintf, in which this object was based on.

The first problem is that a symbol with escaped characters would split into different atoms. I was able to fix that by force adding an escape character in the space and checking for it, but the issue still remained for the case where you'd have a width parameter with spaces padding to the left or right.

Or perhaps there's just a simpler way and I could expand things with how the current simplified object works 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

1 participant