Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Last active March 13, 2017 20:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deque-blog/4329b6be967878e3bab856577ac9e442 to your computer and use it in GitHub Desktop.
Save deque-blog/4329b6be967878e3bab856577ac9e442 to your computer and use it in GitHub Desktop.
(s/def ::good-binary-tree
(s/cat
:value int?
:children (s/map-of #{:left :right} ::good-binary-tree)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment