I have been using Haskell for over ten years now, and still haven't
really figured it all out yet, but I'm getting there. I was a math
and English major and graduated from Caltech in 1975. I've been
programming since then in Fortran, Forth, Perl, and most recently,
Haskell.
This project was easy, so I went ahead and implemented it. Here is the result of main:
PASS : cart [] [5,6,7]
PASS : stddev [1,1,1,5]
PASS : stddev [12,1.5,0.66,1000]
PASS : height t1
PASS : height t2
PASS : minLeaf t1
PASS : minLeaf t2
PASS : inorder t1
PASS : inorder t2
PASS : contains 'b' b1
PASS : contains 2 b2
PASS : contains 2 bbad
PASS : contains 'd' (insert 'd' b1)
PASS : contains 'a' (delete 'a' b1)
PASS : delete 5 b2
Completed 16 tests. 0 failures.