On 2007-12-04, Paulo J. Matos <[EMAIL PROTECTED]> wrote: > Hello all, > > As you might have possibly read in some previous blog posts: > http://users.ecs.soton.ac.uk/pocm06r/fpsig/?p=10 > http://users.ecs.soton.ac.uk/pocm06r/fpsig/?p=11 > > we (the FPSIG group) defined: > data BTree a = Leaf a > | Branch (BTree a) a (BTree a)
Totally avoiding your question, but I'm curious as to why you deliberately exclude empty trees. Come to think of it, how can you represent a tree with two elements? Wouldn't > data BTree a = Empty > | Branch (BTree a) a (BTree a) be better? -- Aaron Denney -><- _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe