Hi Dennis,
At
skedge.me, our platform is Haskell on the backend and JavaScript on the frontend, and we've definitely found that we have far fewer bugs coming out of the backend than the frontend. I think Haskell's language features (including the type system and sum types, most prominently) are responsible for much of this difference.
We've also been able to completely eliminate certain kinds of bugs, such as accidentally performing side effects during a database transaction (which might be rolled back), by using monads to enforce our application's layer architecture.
It's certainly possible to write very buggy code in Haskell, but Haskell gives you a lot of tools that you can use to prevent yourself from writing bugs. In my experience, it is much more efficient than achieving the same level of quality using only testing.
Ryan