Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Created May 20, 2017 13:43
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/5d23e8a88dfe69120f192babc9ab8498 to your computer and use it in GitHub Desktop.
Save deque-blog/5d23e8a88dfe69120f192babc9ab8498 to your computer and use it in GitHub Desktop.
(s/def ::binary-tree-impl
(s/cat
:value any?
:children
(s/map-of #{:left :right} ::binary-tree-impl)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment