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

Better document the extension API #1395

Closed
vitaut opened this issue Nov 4, 2019 · 2 comments
Closed

Better document the extension API #1395

vitaut opened this issue Nov 4, 2019 · 2 comments

Comments

@vitaut
Copy link
Contributor

vitaut commented Nov 4, 2019

Improve the docs: https://fmt.dev/latest/api.html#formatting-user-defined-types, particularly documenting what the inputs and the outputs are in parse and format and provide a more interesting example.

@peter-b
Copy link

peter-b commented Nov 11, 2019

Am I right to suspect the "more interesting example" include suppressing a leading - when a floating point number happens to be rounded to all-zeroes?

@vitaut
Copy link
Contributor Author

vitaut commented Nov 12, 2019

That's not what I had in mind but now I'm considering - suppression as an example =).

@vitaut vitaut closed this as completed Nov 17, 2019
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