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.Schema.Null ( Nullity, Sql, Unnullify, nullable )
20import Rel8.Type ( DBType, typeInformation )
21import Rel8.Type.Information ( TypeInformation )
25newtype Spec = Spec Type
28type SSpec :: Spec -> Type
32 , info :: TypeInformation (Unnullify a)
33 , nullity :: Nullity a
38type KnownSpec :: Spec -> Constraint
39class KnownSpec spec where
40 specSing :: SSpec spec
43instance Sql DBType a => KnownSpec ('Spec a) where
46 , 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