ZVON > References > Haskell reference |
Intro / Search / ZVON |
| Indexes | Syntax | Prelude | Ratio | Complex | Numeric | Ix | Array | List | Maybe | >> Char << | Monad | IO | Directory | System | Time | Locale | CPUTime | Random |
Module: | Char |
---|---|
Function: | showLitChar |
Type: | Char -> ShowS |
Description: | The function showLitChar converts a character to a string using only printable characters, using Haskell source-language escape conventions. The function readLitChar does the reverse. |
Related: |
Input: showLitChar 'a' "AA"
Output: "aAA"
Input: showLitChar '\n' "X\nX"
Output: "\\nX\nX"