[Haskell-beginners] Haskell type conversion for postgresql array types