import qualified Data.Text.Array as AThe names in this module resemble those in the Array family of modules, but are shorter due to the assumption of qualified naming.
x :: Value [[Text]] x = array (dimension replicateM (dimension replicateM (element (nonNullable text))))
someParamsEncoder :: Params [[Int64]] someParamsEncoder = param (nonNullable (array (dimension foldl' (dimension foldl' (element (nonNullable int8))))))Please note that the PostgreSQL IN keyword does not accept an array, but rather a syntactical list of values, thus this encoder is not suited for that. Use a value = ANY($1) condition instead.