Skip to content

Commit

Permalink
3.7 再帰型 二分木の例
Browse files Browse the repository at this point in the history
  • Loading branch information
ukstudio committed Sep 8, 2011
1 parent 9a05c42 commit d030353
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ch03/Tree.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data Tree a = Node a (Tree a) (Tree a)
| Empty
deriving (Show)

0 comments on commit d030353

Please sign in to comment.