@@ -138,7 +138,7 @@ module Squeal.PostgreSQL.Expression
138138 , json
139139 , jsonb
140140 , vararray
141− , arrayN
141+ , fixarray
142142 , notNull
143143 , default_
144144 -- * Re-export
@@ -1164,12 +1164,12 @@ vararray
11641164 -> TypeExpression ('NoDef :=> 'Null ('PGarray pg))
11651165vararray ty = UnsafeTypeExpression $ renderTypeExpression ty <> "[]"
11661166-- | fixed length array
1167−arrayN
1167+fixarray
11681168 :: KnownNat n
11691169 => proxy n
11701170 -> TypeExpression ('NoDef :=> 'Null pg)
11711171 -> TypeExpression ('NoDef :=> 'Null ('PGarrayN n pg))
1172−arrayN p ty = UnsafeTypeExpression $
1172+fixarray p ty = UnsafeTypeExpression $
11731173 renderTypeExpression ty <> "[" <> renderNat p <> "]"
11741174
11751175-- | used in `createTable` commands as a column constraint to ensure
@@ -1215,4 +1215,4 @@ instance PGTyped 'PGjsonb where pgtype = jsonb
12151215instance PGTyped ty => PGTyped ('PGarray ty) where
12161216 pgtype = vararray (pgtype @ty)
12171217instance (KnownNat n, PGTyped ty) => PGTyped ('PGarrayN n ty) where
1218− pgtype = arrayN (Proxy @n) (pgtype @ty)
1218+ pgtype = fixarray (Proxy @n) (pgtype @ty)