on master help sign in
Document Recontextualize
01b569fOllie Charles
src/Rel8/Table/Recontextualize.hs+3
@@ -27,6 +27,9 @@ import Rel8.Table ( Table, Congruent )
27import Rel8.Type ( DBType )
27import Rel8.Type ( DBType )
28
28
29
29
30+-- | @Recontextualize from to a b@ is evidence that the types @a@ and @b@ are
31+-- related, and that @b@ is the same type as @a@, but after changing the
32+-- context from the initial context @from@, to the new context @to@.
30type Recontextualize :: K.Context -> K.Context -> Type -> Type -> Constraint
33type Recontextualize :: K.Context -> K.Context -> Type -> Type -> Constraint
31class
34class
32 ( Table from a
35 ( Table from a