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

Add Sentence case and Title Case for string output #75

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

Conversation

AdamClements
Copy link

This is for the use-case of formatting a keyword or other symbol into something which you might show to the user in a plain sentence, addressing Feature requests #74 and #37

The main niggle here is that the naming scheme of the functions matches the output, which obviously can't contain a space. I have offered the compromise of stripping spaces from symbol names as they are unusable (though interestingly allowable).

I've also opted for simply "Sentence" and "Title", again for readability so we don't end up with e.g. ->Sentencecasesymbol. I'd be happy to update based on any feedback.

I haven't tested this on cljs, but I'm pretty sure I haven't added anything problematic there

This is for the use-case of formatting a keyword or other symbol into something which you might show to the user in a plain sentence, addressing Feature requests clj-commons#74 and clj-commons#37
@AdamClements AdamClements requested a review from qerub as a code owner June 30, 2021 22:35
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.

1 participant