stats library for haskell