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
Add simple English-language string manipulation functions (e.g., PluralWord) #57
Comments
Hmm... |
I'm happy to add |
@shurcooL Do you have any objections here? I want the Oxford comma, but it seems like a generally useful thing when dealing with sets. |
I'm always cautious about expanding the surface area of an API and increasing scope of a library. The addition should be justified. But, I don't have strong objections. If the implementation is not so trivial that anyone can implement it trivially in their project, and if you think this is going to be used by enough people, then I don't have a need for this at this time, so it's hard for me to say whether it's useful. |
Also, since @clconway offered kindly not only to contribute, but also to maintain these, that makes it easier to say yes. |
Includes: - Plural and PluralWord to form simple plurals. - WordSeries and OxfordWordSeries to form comma-separated lists (e.g., "foo, bar and baz"). Fixes: dustin#57
Includes: - Plural and PluralWord to form simple plurals. - WordSeries and OxfordWordSeries to form comma-separated lists (e.g., "foo, bar and baz"). Fixes: #57
I would like to add some simple English-language output functions to this library, e.g.,
These aren't really in-scope for the current version of the library, but are broadly useful in similar situations (e.g., user/debugging output) and seem like a kind of "humanization".
I can contribute and maintain these functions if you are willing to accept a PR.
The text was updated successfully, but these errors were encountered: