[Haskell-cafe] How to use arrays efficiently?