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

fix: make truncate*ToSize nomenclature consistent with ListPush* #126

Merged
merged 2 commits into from
Aug 29, 2022

Conversation

malandis
Copy link
Contributor

@malandis malandis commented Aug 29, 2022

For ListPush We use the nouns "Front" and "Back" to refer to the
beginning and end of the list respectively. In the previous commit, in the
context of truncate, we used the nouns "Head" and "Tail". That introduced
extra vocabulary to refer to exactly the same concepts. This commit renames
"Head" and "Tail" to "Front" and "Back" for consistency.

For `ListPush` We use the nouns "Front" and "Back" to refer to the
beginning and end of the list respectively. In the previous commit, we
used the nouns "Head" and "Tail". That introduced extra vocabulary to
refer to exactly the same concepts. This commit renames "Head" and
"Tail" to "Front" and "Back" for consistency.
@malandis malandis merged commit 2d35fe3 into main Aug 29, 2022
@malandis malandis deleted the fix/rename-truncate-variables branch August 29, 2022 15:37
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.

2 participants