make haskell array