
13 Oct
2012
13 Oct
'12
6:34 p.m.
On Sat, Oct 13, 2012 at 11:25 PM, Eric Dedieu
Hi Haskell Helpers,
For a hobby projet to learn haskell, I'm trying to use this kind of interleaved tree structure (simplified):
data ANode a b = ANode a [BNode a b] [BNode a b] data BNode a b = BNode b [ANode a b] [ANode a b]
Wouldn't the following work as well and be simpler to handle :
data Node a b = Node a [Node b a] [Node b a]
-- Jedaï