Skip to content

Instantly share code, notes, and snippets.

@punund
Created November 10, 2015 20:58
Show Gist options
  • Save punund/060ce3fe703fc57c9570 to your computer and use it in GitHub Desktop.
Save punund/060ce3fe703fc57c9570 to your computer and use it in GitHub Desktop.
Data.Tree
data Tree a = Node a (Forest a)
type Forest a = [Tree a]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment