1{-# language DataKinds #-}
2{-# language StandaloneKindSignatures #-}
3{-# language TypeFamilyDependencies #-}
5module Rel8.Column.These
11import Data.Kind ( Type )
15import Rel8.Aggregate ( Aggregate )
16import Rel8.Expr ( Expr )
17import qualified Rel8.Schema.Kind as K
18import Rel8.Schema.Name ( Name )
19import Rel8.Schema.Result ( Result )
20import Rel8.Table.These ( TheseTable )
23import Data.These ( These )
26-- | Nest an 'These' value within a 'Rel8able'. @HThese f a b@ will produce a
27-- 'TheseTable' @a b@ in the 'Expr' context, and a 'These' @a b@ in the
29type HThese :: K.Context -> Type -> Type -> Type
30type family HThese context = these | these -> context where
31 HThese Aggregate = TheseTable Aggregate
32 HThese Expr = TheseTable Expr
33 HThese Name = TheseTable Name
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