Comparing Haskell and Ruby, Part I