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

Dedicated HashValue type to make it less ambiguous working with hashes #13

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JoshOrndorff
Copy link
Owner

This PR adds a type called HashValue which is a thin wrapper around a u64. This should free the learner's mind from having to remember that hashes are just u64s and from remembering which u64s are being treated like hashes and which are numbers that you might want to perform arithmetic on.

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