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

cardin? should take a card and a hand as input #1

Open
muraiki opened this issue Feb 21, 2013 · 0 comments
Open

cardin? should take a card and a hand as input #1

muraiki opened this issue Feb 21, 2013 · 0 comments

Comments

@muraiki
Copy link
Owner

muraiki commented Feb 21, 2013

cardin? currently takes as input a suit and a rank along with a hand; this is inconsistent with other funcs that take a card.

Currently:
(cardin? :spade :2 ahand)

Should be:
(cardin? {:suit :spades :rank :2} ahand)

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

No branches or pull requests

1 participant