Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type Record = Rec Identity
- (&:) :: a -> Record rs -> Record ((s :-> a) ': rs)
- type family RecordColumns t where ...
- recUncons :: Record ((s :-> a) ': rs) -> (a, Record rs)
- recMaybe :: Rec Maybe cs -> Maybe (Record cs)
- showFields :: (RecAll Identity (UnColumn ts) Show, AsVinyl ts) => Record ts -> [String]
Documentation
(&:) :: a -> Record rs -> Record ((s :-> a) ': rs) infixr 5 Source #
A cons
function for building Record
values.
type family RecordColumns t where ... Source #
RecordColumns (Record ts) = ts |
recUncons :: Record ((s :-> a) ': rs) -> (a, Record rs) Source #
Separate the first element of a Record
from the rest of the row.