Parcourir la source

Create binary tree type

DricomDragon il y a 5 ans
Parent
commit
867d9acb2f
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      tree.hs

+ 2 - 0
tree.hs

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