Safe Haskell | None |
---|---|
Language | Haskell2010 |
Column types
Synopsis
- type (:->) (a :: Symbol) b = '(a, b)
- pattern Col :: KnownSymbol s => t -> ElField '(s, t)
- getCol :: ElField '(s, t) -> t
- newtype Col' s a = Col' (ElField (s :-> a))
- col' :: KnownSymbol s => a -> Col' s a
- type family ReplaceColumns x ys where ...
Documentation
pattern Col :: KnownSymbol s => t -> ElField '(s, t) Source #
Used only for a show instance that parenthesizes the value.
type family ReplaceColumns x ys where ... Source #
ReplaceColumns x ys
keeps the textual name of each element of
ys
, but replaces its data type with x
.
ReplaceColumns x '[] = '[] | |
ReplaceColumns x ((c :-> y) ': ys) = (c :-> x) ': ReplaceColumns x ys |