It seems as though that Haskell was designed for Project Euler problems.