| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Data.KVITable.Render.ASCII
Description
Synopsis
- render :: Sayable "normal" v => RenderConfig -> KVITable v -> Text
- data RenderConfig = RenderConfig {}
- defaultRenderConfig :: RenderConfig
Documentation
render :: Sayable "normal" v => RenderConfig -> KVITable v -> Text Source #
Renders the specified table in ASCII format, using the specified
RenderConfig controls.
data RenderConfig Source #
The RenderConfig specifies the various controls and
configurations used when rendering a KVITable in various formats.
The RenderConfig is global to all formats, although some of the
fields in the RenderConfig will be ignored as not-applicable by
some formats.
Constructors
| RenderConfig | |
Fields
| |
defaultRenderConfig :: RenderConfig Source #
Returns the default rendering configuration, to be used with a
format-specific render call.