> | v<= a = Node a ( insert v b ) c
Hi, The quoted line is the problem, you wanted to say Node (insert v b) a c. -- MM _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe