Explorar o código

Create binary tree type

DricomDragon %!s(int64=5) %!d(string=hai) anos
pai
achega
867d9acb2f
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      tree.hs

+ 2 - 0
tree.hs

@@ -0,0 +1,2 @@
+data BinaryTree = Leaf | Node Integer BinaryTree BinaryTree
+