1{-# language DataKinds #-}
2{-# language StandaloneKindSignatures #-}
3{-# language TypeFamilyDependencies #-}
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.List ( ListTable )
23-- | Nest a list within a 'Rel8able'. @HList f a@ will produce a 'ListTable'
24-- @a@ in the 'Expr' context, and a @[a]@ in the 'Result' context.
25type HList :: K.Context -> Type -> Type
26type family HList context = list | list -> context where
27 HList Aggregate = ListTable Aggregate
28 HList Expr = ListTable Expr
29 HList Name = ListTable 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