KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Still learning haskell, and I cannot really see the difference between data Tree a = Leaf a | Branch [Tree a] and data Tree a = Leaf a | Branch (Tree a) (Tree a) What is best according to you? What is the implication of these two ways of writing ?
Tags (comma-separated)
Save Edits
Cancel