Last active
December 23, 2016 21:22
-
-
Save deque-blog/95c89f031e953232492f2a83d230f430 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data Tree a | |
= EmptyTree | |
| Tree { root :: Node a } | |
data Node a | |
= Node { | |
value :: a, | |
children :: [Node a] } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment