1{-# language DataKinds #-}
2{-# language FlexibleContexts #-}
3{-# language FlexibleInstances #-}
4{-# language MultiParamTypeClasses #-}
5{-# language TypeFamilies #-}
6{-# language StandaloneKindSignatures #-}
7{-# language UndecidableInstances #-}
15import Data.Int ( Int16, Int32, Int64 )
16import Data.Kind ( Constraint, Type )
20import Rel8.Type ( DBType )
23import Data.Scientific ( Scientific )
26import Data.Time.LocalTime ( CalendarDiffTime )
29-- | The class of database types that support the @sum()@ aggregation function.
30type DBSum :: Type -> Constraint
31class DBType a => DBSum a
37instance DBSum Scientific
38instance DBSum CalendarDiffTime
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