1{-# language DataKinds #-}
2{-# language StandaloneKindSignatures #-}
3{-# language TypeFamilyDependencies #-}
5module Rel8.Column.Either
11import Data.Kind ( Type )
15import qualified Rel8.Schema.Kind as K
16import Rel8.Schema.Result ( Result )
17import Rel8.Table.Either ( EitherTable )
20-- | Nest an 'Either' value within a 'Rel8able'. @HEither f a b@ will produce a
21-- 'EitherTable' @a b@ in the 'Expr' context, and a 'Either' @a b@ in the
23type HEither :: K.Context -> Type -> Type -> Type
24type family HEither context = either | either -> context where
25 HEither Result = Either
26 HEither context = EitherTable context
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