Statistics and functional programming languages