« Return to Thread: inserting values in a binary tree

inserting values in a binary tree

by PR Stanley :: Rate this Message:

Reply to Author | View in Thread

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

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@...
http://www.haskell.org/mailman/listinfo/haskell-cafe

 « Return to Thread: inserting values in a binary tree