1{-# language DataKinds #-}
2{-# language FlexibleContexts #-}
4{-# language StandaloneKindSignatures #-}
5{-# language UndecidableInstances #-}
9 , SSpec( SSpec, labels, necessity, info, nullability )
10 , KnownSpec( specSing )
16import Data.Kind ( Constraint, Type )
20import Rel8.Kind.Labels ( Labels, SLabels, KnownLabels, labelsSing )
21import Rel8.Kind.Necessity
24 , KnownNecessity, necessitySing
26import Rel8.Schema.Nullability ( Nullability, Nullabilizes, nullabilization )
27import Rel8.Type ( DBType, typeInformation )
28import Rel8.Type.Information ( TypeInformation )
32data Spec = Spec Labels Necessity Type Type
35type SSpec :: Spec -> Type
38 { labels :: SLabels labels
39 , necessity :: SNecessity necessity
40 , info :: TypeInformation db
41 , nullability :: Nullability db a
43 -> SSpec ('Spec labels necessity db a)
46type KnownSpec :: Spec -> Constraint
47class KnownSpec spec where
48 specSing :: SSpec spec
53 , KnownNecessity necessity
56 ) => KnownSpec ('Spec labels necessity db a)
60 , necessity = necessitySing
61 , info = typeInformation
62 , nullability = nullabilization
67type Context = Spec -> Type
71type KTable = Context -> Type
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