Copyright | (c) 2011 MailRank Inc. |
---|---|
License | BSD-style |
Maintainer | bos@serpentine.com |
Stability | experimental |
Portability | GHC |
Safe Haskell | None |
Language | Haskell98 |
Data.Text.Format.Params
Description
Types that can be used as a collection of arguments for formatting.
Synopsis
- class Params ps where
- buildParams :: ps -> [Builder]
Documentation
class Params ps where Source #
The class of types that can be used as a collection of arguments for formatting.
Methods
buildParams :: ps -> [Builder] Source #
Instances
Params () Source # | |
Defined in Data.Text.Format.Params Methods buildParams :: () -> [Builder] Source # | |
Buildable a => Params [a] Source # | |
Defined in Data.Text.Format.Params Methods buildParams :: [a] -> [Builder] Source # | |
Buildable a => Params (Only a) Source # | |
Defined in Data.Text.Format.Params Methods buildParams :: Only a -> [Builder] Source # | |
(Buildable a, Buildable b) => Params (a, b) Source # | |
Defined in Data.Text.Format.Params Methods buildParams :: (a, b) -> [Builder] Source # | |
(Buildable a, Buildable b, Buildable c) => Params (a, b, c) Source # | |
Defined in Data.Text.Format.Params Methods buildParams :: (a, b, c) -> [Builder] Source # | |
(Buildable a, Buildable b, Buildable c, Buildable d) => Params (a, b, c, d) Source # | |
Defined in Data.Text.Format.Params Methods buildParams :: (a, b, c, d) -> [Builder] Source # | |
(Buildable a, Buildable b, Buildable c, Buildable d, Buildable e) => Params (a, b, c, d, e) Source # | |
Defined in Data.Text.Format.Params Methods buildParams :: (a, b, c, d, e) -> [Builder] Source # | |
(Buildable a, Buildable b, Buildable c, Buildable d, Buildable e, Buildable f) => Params (a, b, c, d, e, f) Source # | |
Defined in Data.Text.Format.Params Methods buildParams :: (a, b, c, d, e, f) -> [Builder] Source # | |
(Buildable a, Buildable b, Buildable c, Buildable d, Buildable e, Buildable f, Buildable g) => Params (a, b, c, d, e, f, g) Source # | |
Defined in Data.Text.Format.Params Methods buildParams :: (a, b, c, d, e, f, g) -> [Builder] Source # | |
(Buildable a, Buildable b, Buildable c, Buildable d, Buildable e, Buildable f, Buildable g, Buildable h) => Params (a, b, c, d, e, f, g, h) Source # | |
Defined in Data.Text.Format.Params Methods buildParams :: (a, b, c, d, e, f, g, h) -> [Builder] Source # | |
(Buildable a, Buildable b, Buildable c, Buildable d, Buildable e, Buildable f, Buildable g, Buildable h, Buildable i) => Params (a, b, c, d, e, f, g, h, i) Source # | |
Defined in Data.Text.Format.Params Methods buildParams :: (a, b, c, d, e, f, g, h, i) -> [Builder] Source # | |
(Buildable a, Buildable b, Buildable c, Buildable d, Buildable e, Buildable f, Buildable g, Buildable h, Buildable i, Buildable j) => Params (a, b, c, d, e, f, g, h, i, j) Source # | |
Defined in Data.Text.Format.Params Methods buildParams :: (a, b, c, d, e, f, g, h, i, j) -> [Builder] Source # | |
(Buildable a, Buildable b, Buildable c, Buildable d, Buildable e, Buildable f, Buildable g, Buildable h, Buildable i, Buildable j, Buildable k) => Params (a, b, c, d, e, f, g, h, i, j, k) Source # | |
Defined in Data.Text.Format.Params Methods buildParams :: (a, b, c, d, e, f, g, h, i, j, k) -> [Builder] Source # | |
(Buildable a, Buildable b, Buildable c, Buildable d, Buildable e, Buildable f, Buildable g, Buildable h, Buildable i, Buildable j, Buildable k, Buildable l) => Params (a, b, c, d, e, f, g, h, i, j, k, l) Source # | |
Defined in Data.Text.Format.Params Methods buildParams :: (a, b, c, d, e, f, g, h, i, j, k, l) -> [Builder] Source # | |
(Buildable a, Buildable b, Buildable c, Buildable d, Buildable e, Buildable f, Buildable g, Buildable h, Buildable i, Buildable j, Buildable k, Buildable l, Buildable m) => Params (a, b, c, d, e, f, g, h, i, j, k, l, m) Source # | |
Defined in Data.Text.Format.Params Methods buildParams :: (a, b, c, d, e, f, g, h, i, j, k, l, m) -> [Builder] Source # | |
(Buildable a, Buildable b, Buildable c, Buildable d, Buildable e, Buildable f, Buildable g, Buildable h, Buildable i, Buildable j, Buildable k, Buildable l, Buildable m, Buildable n) => Params (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source # | |
Defined in Data.Text.Format.Params Methods buildParams :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> [Builder] Source # | |
(Buildable a, Buildable b, Buildable c, Buildable d, Buildable e, Buildable f, Buildable g, Buildable h, Buildable i, Buildable j, Buildable k, Buildable l, Buildable m, Buildable n, Buildable o) => Params (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source # | |
Defined in Data.Text.Format.Params Methods buildParams :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> [Builder] Source # | |
(Buildable a, Buildable b, Buildable c, Buildable d, Buildable e, Buildable f, Buildable g, Buildable h, Buildable i, Buildable j, Buildable k, Buildable l, Buildable m, Buildable n, Buildable o, Buildable p) => Params (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p) Source # | |
Defined in Data.Text.Format.Params Methods buildParams :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p) -> [Builder] Source # | |
(Buildable a, Buildable b, Buildable c, Buildable d, Buildable e, Buildable f, Buildable g, Buildable h, Buildable i, Buildable j, Buildable k, Buildable l, Buildable m, Buildable n, Buildable o, Buildable p, Buildable r) => Params (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, r) Source # | |
Defined in Data.Text.Format.Params Methods buildParams :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, r) -> [Builder] Source # | |
(Buildable a, Buildable b, Buildable c, Buildable d, Buildable e, Buildable f, Buildable g, Buildable h, Buildable i, Buildable j, Buildable k, Buildable l, Buildable m, Buildable n, Buildable o, Buildable p, Buildable r, Buildable s) => Params (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, r, s) Source # | |
Defined in Data.Text.Format.Params Methods buildParams :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, r, s) -> [Builder] Source # | |
(Buildable a, Buildable b, Buildable c, Buildable d, Buildable e, Buildable f, Buildable g, Buildable h, Buildable i, Buildable j, Buildable k, Buildable l, Buildable m, Buildable n, Buildable o, Buildable p, Buildable r, Buildable s, Buildable t) => Params (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, r, s, t) Source # | |
Defined in Data.Text.Format.Params Methods buildParams :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, r, s, t) -> [Builder] Source # | |
(Buildable a, Buildable b, Buildable c, Buildable d, Buildable e, Buildable f, Buildable g, Buildable h, Buildable i, Buildable j, Buildable k, Buildable l, Buildable m, Buildable n, Buildable o, Buildable p, Buildable r, Buildable s, Buildable t, Buildable u) => Params (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, r, s, t, u) Source # | |
Defined in Data.Text.Format.Params Methods buildParams :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, r, s, t, u) -> [Builder] Source # |