Skip to content

Alliterations - #102

Merged
allenap merged 8 commits into
masterfrom
alliterations
Sep 23, 2023
Merged

allenap merged 8 commits into
masterfrom
alliterations

Conversation

@allenap

@allenap allenap commented Sep 23, 2023

Copy link
Copy Markdown
Owner

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
@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