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 specialised versions of Range #55

Open
santiweight opened this issue Oct 23, 2021 · 0 comments
Open

Add specialised versions of Range #55

santiweight opened this issue Oct 23, 2021 · 0 comments
Labels
good first issue Good for newcomers

Comments

@santiweight
Copy link
Owner

The current Range data structure uses a non-fixed-size Map. For Hole and ShapedHole ranges, a 1346 (somewhere around there) and 139 sized will suffice respectively.

See #12 for prior discussion.

See https://github.com/tonyday567/poker-fold/blob/main/src/Poker/RangedHole.hs#L289 for an implementation.

Naming is agreed to be HoleRange and ShapedHoleRange respectively. The structure should also be strict in its elements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant