Safe Haskell | None |
---|---|
Language | Haskell2010 |
Column types
Documentation
newtype (s :: Symbol) :-> a Source #
A column's type includes a textual name and the data type of each element.
(KnownSymbol s, Show (f (Col' s a)), ShowRec f rs) => ShowRec f ((:) * ((:->) s a) rs) Source # | |
Eq a => Eq ((:->) s a) Source # | |
Floating a => Floating ((:->) s a) Source # | |
Fractional a => Fractional ((:->) s a) Source # | |
Num a => Num ((:->) s a) Source # | |
Ord a => Ord ((:->) s a) Source # | |
Real a => Real ((:->) s a) Source # | |
RealFloat a => RealFloat ((:->) s a) Source # | |
RealFrac a => RealFrac ((:->) s a) Source # | |
(KnownSymbol s, Show a) => Show ((:->) s a) Source # | |
Semigroup a => Semigroup ((:->) s a) Source # | |
Monoid a => Monoid ((:->) s a) Source # | |
AsVinyl ts => AsVinyl ((:) * ((:->) s t) ts) Source # | |
(ColumnHeaders cs, KnownSymbol s) => ColumnHeaders ((:) * ((:->) s c) cs) Source # | |
(MVector (VectorMFor a) a, Vector (VectorFor a) a, RecVec rs) => RecVec ((:) * ((:->) s a) rs) Source # | |
(Parseable t, ReadRec ts) => ReadRec ((:) * ((:->) s t) ts) 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 |