1{-# language DataKinds #-}
2{-# language StandaloneKindSignatures #-}
3{-# language TypeFamilies #-}
4{-# language UndecidableInstances #-}
15import Rel8.Generic.Rel8able
17 , GRep, GColumns, GContext, gfromColumns, gtoColumns
18 , GColumnsADT, gfromColumnsADT, gtoColumnsADT
21import qualified Rel8.Kind.Algebra as K
22import Rel8.Schema.Context ( Col )
23import qualified Rel8.Schema.Kind as K
24import Rel8.Schema.Reify ( hreify, hunreify )
27type ADT :: K.Rel8able -> K.Rel8able
28newtype ADT t context = ADT (GColumnsADT t (Col context))
31instance Rel8able t => Rel8able (ADT t) where
32 type Algebra (ADT t) = 'K.Product
34 type GRep (ADT t) context = GRep t context
36 type GColumns (ADT t) = GColumnsADT t
37 type GContext (ADT t) context = context
40 gtoColumns (ADT a) = a
43 gtoColumnsADT (ADT a) = a
45 greify (ADT a) = ADT (hreify a)
46 gunreify (ADT a) = ADT (hunreify a)
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