[Haskell-cafe] inserting values in a binary tree

PR Stanley prstanley at ntlworld.com
Fri May 9 18:35:25 EDT 2008


Hi
data Ord a => Tree a = Nil | Node (Tree a) a (Tree a)
How would one go about inserting a value in a binary search tree of 
the above description?

Cheers
Paul



More information about the Haskell-Cafe mailing list