| Copyright | (C) 2014-2016 Ryan Scott |
|---|---|
| License | BSD-style (see the file LICENSE) |
| Maintainer | Ryan Scott |
| Stability | Provisional |
| Portability | GHC |
| Safe Haskell | None |
| Language | Haskell2010 |
TextShow.Data.List
Contents
Description
Exports showbListWith, showtListWith, and showtlListWith.
- showbListWith :: (a -> Builder) -> [a] -> Builder
- showtListWith :: (a -> Text) -> [a] -> Text
- showtlListWith :: (a -> Text) -> [a] -> Text
Documentation
showbListWith :: (a -> Builder) -> [a] -> Builder Source #
Converts a list of values into a Builder in which the values are surrounded
by square brackets and each value is separated by a comma. The function argument
controls how each element is shown.
is the default implementation of showbListWith showbshowbList save for
a few special cases (e.g., String).
Since: 2
showtListWith :: (a -> Text) -> [a] -> Text Source #
Converts a list of values into a strict Text in which the values are surrounded
by square brackets and each value is separated by a comma. The function argument
controls how each element is shown.
Since: 3.4
showtlListWith :: (a -> Text) -> [a] -> Text Source #
Converts a list of values into a lazy Text in which the values are surrounded
by square brackets and each value is separated by a comma. The function argument
controls how each element is shown.
Since: 3.4