Last active
January 10, 2018 16:49
-
-
Save jrheard/637d5815786edb8aa44100c018470eb3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(s/def ::cell (s/cat :x nat-int? :y nat-int?)) | |
(s/def ::value (s/and nat-int? #(<= % 9))) | |
(s/def ::deck (s/coll-of ::value)) | |
(s/def ::hand (s/coll-of ::value :min-count 0 :max-count 5)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment