Binary search tree

2002-04-29 Thread Claudio Marcio de Souza Vicente
Hi everybody, I studied haskell this semester at the university and I was required to implement a binary search tree in haskell. I would appreciate if anyone could send me an example code of this data structure. thanks in advance, Claudio ___

Re: Binary search tree

2002-04-29 Thread Rijk J. C. van Haaften
Hi everybody, I studied haskell this semester at the university and I was required to implement a binary search tree in haskell. I would appreciate if anyone could send me an example code of this data structure. Just read a standard textbook. Some useful course notes by Jeroen Fokker are

Re: some algorithms are hard to code in O(n) in Haskell

2002-04-29 Thread Keith Wansbrough
does anybody know how to do a term unification in Haskell in O(n), where n is length of the input terms? I know Montanari-Martelli algorithm for this, but I'm unable to code it in Haskell (in O(n)). I would need a destructive update of the directed graph representing terms (to do a

(no subject)

2002-04-29 Thread Ricky Kurniawan