1{-# language DataKinds #-}
2{-# language FlexibleContexts #-}
4{-# language StandaloneKindSignatures #-}
5{-# language UndecidableInstances #-}
9 , SSpec( SSpec, labels, info, nullity )
10 , KnownSpec( specSing )
15import Data.Kind ( Constraint, Type )
19import Rel8.Kind.Labels ( Labels, SLabels, KnownLabels, labelsSing )
20import Rel8.Schema.Null ( Nullity, Sql, Unnullify, nullable )
21import Rel8.Type ( DBType, typeInformation )
22import Rel8.Type.Information ( TypeInformation )
26data Spec = Spec Labels Type
29type SSpec :: Spec -> Type
32 { labels :: SLabels labels
33 , info :: TypeInformation (Unnullify a)
34 , nullity :: Nullity a
36 -> SSpec ('Spec labels a)
39type KnownSpec :: Spec -> Constraint
40class KnownSpec spec where
41 specSing :: SSpec spec
48 => KnownSpec ('Spec labels a)
52 , info = typeInformation
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