on master help sign in
Document Column
commitda86165828af361252def718d64de628d8bc91b5 authorOllie Charles <ollie@ocharles.org.uk> dateFri 18 Jun 2021, 10:55 (5 years ago) parent9c974cb
1 file changed+3
src/Rel8/Column.hs+3
src/Rel8/Column.hs+3
@@ -35,6 +35,9 @@ import Rel8.Table.Recontextualize ( Recontextualize )
3535import Rel8.Type ( DBType )
3636
3737
38+-- | This type family is used to specify columns in 'Rel8able's. In @Column f
39+-- a@, @f@ is the context of the column (which should be left polymorphic in
40+-- 'Rel8able' definitions), and @a@ is the type of the column.
3841type Column :: K.Context -> Type -> Type
3942type family Column context a where
4043 Column (Reify context) a = AColumn context a