1{-# language DataKinds #-}
2{-# language FlexibleInstances #-}
3{-# language FunctionalDependencies #-}
4{-# language StandaloneKindSignatures #-}
5{-# language TypeFamilies #-}
6{-# language UndecidableInstances #-}
8module Rel8.Table.Transpose
14import Data.Kind ( Constraint, Type )
18import qualified Rel8.Schema.Kind as K
19import Rel8.Table ( Table, Transpose, Congruent )
22-- | @'Transposes' from to a b@ means that @a@ and @b@ are 'Table's, in the
23-- @from@ and @to@ contexts respectively, which share the same underlying
24-- structure. In other words, @b@ is a version of @a@ transposed from the
25-- @from@ context to the @to@ context (and vice versa).
26type Transposes :: K.Context -> K.Context -> Type -> Type -> Constraint
32 , a ~ Transpose from b
34 => Transposes from to a b
44 , a ~ Transpose from b
46 => Transposes from to a b
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list