Skip to content

Instantly share code, notes, and snippets.

Created June 16, 2016 05:27
What would you like to do?
Binary Tree in Haskell
data BinaryTree a =
| Node (BinaryTree a) a (BinaryTree a)
deriving (Eq, Ord, Show)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment