@@ -116,7 +116,7 @@ module Squeal.PostgreSQL.Schema
116116 , Enumerated (..)
117117 , NullPG
118118 , TuplePG
119− , LabelsFrom
119+ , LabelsPG
120120 , RowPG
121121 , RowOf
122122 , FieldPG
@@ -721,7 +721,7 @@ type instance PG (hask, hask, hask, hask, hask, hask, hask, hask, hask)
721721type instance PG (hask, hask, hask, hask, hask, hask, hask, hask, hask, hask)
722722 = 'PGfixarray 10 (NullPG hask)
723723type instance PG (Composite hask) = 'PGcomposite (RowPG hask)
724−type instance PG (Enumerated hask) = 'PGenum (LabelsFrom hask)
724+type instance PG (Enumerated hask) = 'PGenum (LabelsPG hask)
725725
726726newtype Json hask = Json {getJson :: hask}
727727 deriving (Eq, Ord, Show, Read, GHC.Generic)
@@ -732,17 +732,17 @@ newtype Composite record = Composite {getComposite :: record}
732732newtype Enumerated enum = Enumerated {getEnumerated :: enum}
733733 deriving (Eq, Ord, Show, Read, GHC.Generic)
734734
735−-- | The `LabelsFrom` type family calculates the constructors of a
735+-- | The `LabelsPG` type family calculates the constructors of a
736736-- Haskell enum type.
737737--
738738-- >>> data Schwarma = Beef | Lamb | Chicken deriving GHC.Generic
739739-- >>> instance Generic Schwarma
740740-- >>> instance HasDatatypeInfo Schwarma
741−-- >>> :kind! LabelsFrom Schwarma
742−-- LabelsFrom Schwarma :: [Type.ConstructorName]
741+-- >>> :kind! LabelsPG Schwarma
742+-- LabelsPG Schwarma :: [Type.ConstructorName]
743743-- = '["Beef", "Lamb", "Chicken"]
744−type family LabelsFrom (hask :: Type) :: [Type.ConstructorName] where
745− LabelsFrom hask =
744+type family LabelsPG (hask :: Type) :: [Type.ConstructorName] where
745+ LabelsPG hask =
746746 ConstructorNamesOf (ConstructorsOf (DatatypeInfoOf hask))
747747
748748type family RowPG (hask :: Type) :: RowType where