Sfoglia il codice sorgente

Create binary tree type

DricomDragon 5 anni fa
parent
commit
867d9acb2f
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      tree.hs

+ 2 - 0
tree.hs

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