on dev help sign in
PG of lists
2ce8fe7Eitan Chatav
squeal-postgresql/src/Squeal/PostgreSQL/PG.hs+1
@@ -375,6 +375,7 @@ newtype VarArray arr = VarArray {getVarArray :: arr}
375 deriving (Eq, Ord, Show, Read, GHC.Generic)
375 deriving (Eq, Ord, Show, Read, GHC.Generic)
376-- | `PGvararray` @(@`NullPG` @hask)@
376-- | `PGvararray` @(@`NullPG` @hask)@
377type instance PG (VarArray (Vector hask)) = 'PGvararray (NullPG hask)
377type instance PG (VarArray (Vector hask)) = 'PGvararray (NullPG hask)
378+type instance PG (VarArray [hask]) = 'PGvararray (NullPG hask)
378
379
379{- | The `FixArray` newtype is an indication that the Haskell
380{- | The `FixArray` newtype is an indication that the Haskell
380type it's applied to should be stored as a `PGfixarray`.
381type it's applied to should be stored as a `PGfixarray`.