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