
I have to admit that I think that as shorter source code as better. Therefore the question to those who know Perl: is the source code of a client-server application shorter in Haskel to compare to Perl one? How much shorter (more or less)?
Counter question: can you make quicksort shorter than three lines qsort :: Ord a => [a] -> [a] qsort [] = [] qsort (x:xs) = [y | y <- xs, y <= x] ++ [x] ++ [y | y <- xs, x < y] ? Note that the first line even can be emitted because the compiler can deduce it automatically.
Is that source code really easier to debug (in OO Perl it is not really easy :-(
The point is not to debug your source code but get it correct in the first place. And that's what Haskell and its type system forces you to do. Regards, apflemus