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

Alliterations #102

Merged
merged 8 commits into from
Sep 23, 2023
Merged

Alliterations #102

merged 8 commits into from
Sep 23, 2023

Conversation

allenap
Copy link
Owner

@allenap allenap commented Sep 23, 2023

This extracts a Generator trait out of Petnames, then introduces a new Alliterations type that implements it too. It's possible to create an Alliterations directly from a Petnames and then use it to generate names just the same, except that all words in generated names will start with the same letter. The difference to before is that now, when generating multiple names, each name does not need to start with the same letter as the previous name.

Fixes #60.

@allenap allenap merged commit 9a7ecef into master Sep 23, 2023
4 checks passed
@allenap allenap deleted the alliterations branch September 23, 2023 14:45
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.

petname -a --count N should produce names with different starting letters
1 participant