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: | Prelude |
---|---|
Function: | show |
Type: | Show a => a -> String |
Class: | Show |
Description: | converts its argument to a string |
Related: | lex, read, reads, shows |
Input: show 12
Output: "12"
Input: show True
Output: "True"
Input: show [1,2,3]
Output: "[1,2,3]"
Input: show (2+4)
Output: "6"
Input: show (zip [1,2,3] [5,4,3])
Output: "[(1,5),(2,4),(3,3)]"