| Copyright | (c) Andrey Mulik 2019 |
|---|---|
| License | BSD-style |
| Maintainer | work.a.mulik@gmail.com |
| Portability | portable |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Text.Show.SDP
Contents
Description
Text.Show.SDP provides common ShowS stuff.
Common show templates
assocsPrec :: (Indexed v i e, Show i, Show e) => String -> Int -> v -> ShowS Source #
assocsPrec is showsPrec template.
showsRaw :: Show e => Int -> [e] -> ShowS Source #
showsRaw is a primitive list-to-string conversion pattern.
Note that attempting to parse the resulting string with standard ReadS-based
functions will cause an error (ambiguous parse). To properly parse a string,
use the readRawSequence function from the SDP.Text.Read module.